Skip to content

Commit

Permalink
Merge pull request #10 from arokem/gh-only-on-pr-close
Browse files Browse the repository at this point in the history
Only push to GHA when a PR is merged.
  • Loading branch information
arokem authored May 16, 2024
2 parents 37ca786 + 4ff9407 commit 3caf7d8
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 3caf7d8

Please sign in to comment.