diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index bd670c0..0101f0f 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -44,6 +44,6 @@ jobs: needs: build_docs runs-on: ubuntu-latest steps: - - if: github.event_name != 'pull_request' + - if: github.ref == 'refs/heads/main' uses: actions/deploy-pages@v4 id: deployment