Skip to content

Commit 3caf7d8

Browse files
authored
Merge pull request #10 from arokem/gh-only-on-pr-close
Only push to GHA when a PR is merged.
2 parents 37ca786 + 4ff9407 commit 3caf7d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
# To install LaTeX to build PDF book
3333
tinytex: true
3434
- name: Publish to GitHub Pages (and render)
35+
if: github.event.pull_request.merged == true
3536
uses: quarto-dev/quarto-actions/publish@v2
3637
with:
3738
target: gh-pages

0 commit comments

Comments
 (0)