Skip to content

Commit

Permalink
Make entire documentation deploy job conditional on "is not a pull re…
Browse files Browse the repository at this point in the history
…quest" not just the deploy step.
  • Loading branch information
StefanFabian committed Aug 12, 2024
1 parent 0e62237 commit bd2012e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
name: github-pages
path: docs/_build/html
deploy:
if: github.event_name != 'pull_request'
needs: build
permissions:
pages: write
Expand All @@ -45,6 +46,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
if: github.event_name != 'pull_request'
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit bd2012e

Please sign in to comment.