diff --git a/.github/workflows/sphinx.yaml b/.github/workflows/sphinx.yaml index 0d498a87..3993121d 100644 --- a/.github/workflows/sphinx.yaml +++ b/.github/workflows/sphinx.yaml @@ -44,6 +44,8 @@ jobs: deploy: # Deploy to the github-pages environment + # but not on PRs + if: ${{ github.event_name != 'pull_request' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}