Skip to content

Commit

Permalink
Merge pull request #137 from benjeffery/no-deploy-on-PR
Browse files Browse the repository at this point in the history
Don't deploy on PRs
  • Loading branch information
benjeffery authored Apr 19, 2024
2 parents ffbdeff + 6c08af6 commit fa2162d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

deploy:
needs: build-docs

if: github.event_name != 'pull_request'
permissions:
pages: write
id-token: write
Expand All @@ -52,6 +52,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit fa2162d

Please sign in to comment.