Skip to content

Commit

Permalink
Do not attempt to deploy on PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhmorris committed Apr 3, 2024
1 parent 80f6a51 commit 87a0c9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sphinx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 87a0c9d

Please sign in to comment.