Skip to content

Commit fa2162d

Browse files
authored
Merge pull request #137 from benjeffery/no-deploy-on-PR
Don't deploy on PRs
2 parents ffbdeff + 6c08af6 commit fa2162d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
deploy:
4242
needs: build-docs
43-
43+
if: github.event_name != 'pull_request'
4444
permissions:
4545
pages: write
4646
id-token: write
@@ -52,6 +52,5 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- name: Deploy to GitHub Pages
55-
if: github.ref == 'refs/heads/main'
5655
id: deployment
5756
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)