diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 6db458a..2e2b15f 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -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,