Skip to content

Commit

Permalink
Only push to GHA when a PR is merged.
Browse files Browse the repository at this point in the history
  • Loading branch information
arokem committed May 16, 2024
1 parent 37ca786 commit 4ff9407
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
# To install LaTeX to build PDF book
tinytex: true
- name: Publish to GitHub Pages (and render)
if: github.event.pull_request.merged == true
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
Expand Down

0 comments on commit 4ff9407

Please sign in to comment.