diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 10ec0a038..73be7b58d 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -88,6 +88,7 @@ jobs: - name: Get output time run: echo "The time was ${{ steps.build.outputs.time }}" - name: Deploy + if: github.ref == 'refs/heads/main' uses: JamesIves/github-pages-deploy-action@releases/v3 with: ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}