Skip to content

Commit 1c9d337

Browse files
committed
Do not attempt to push to github pages for PRs
1 parent 10b0334 commit 1c9d337

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/site.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: Generate Site
1616
run: npx antora docs/antora/antora-playbook.yml
1717
- name: Publish to GitHub Pages
18+
if: ${{ github.event_name != 'pull_request' }}
1819
uses: peaceiris/actions-gh-pages@v3
1920
with:
2021
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)