Skip to content

Commit

Permalink
Prevent pkgdown workflow to push in merge queues
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Oct 31, 2023
1 parent 9012749 commit bbd6442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
if: !contains(fromJSON('["merge_group", "pull_request"]'), github.event_name)
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
# We clean on releases because we want to remove old vignettes,
Expand Down

0 comments on commit bbd6442

Please sign in to comment.