File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
22# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+ #
4+ # This workflow automatically builds and deploys the pkgdown website to GitHub Pages.
5+ #
6+ # Triggers:
7+ # - Push to main/master: Builds and deploys to gh-pages branch
8+ # - Pull requests: Builds only (no deployment, for testing)
9+ # - Releases: Builds and deploys
10+ # - Manual dispatch: Can be triggered manually from Actions tab
11+ #
12+ # The gh-pages branch will be automatically created on the first successful deployment.
313on :
414 push :
515 branches : [main, master]
16+ paths :
17+ - ' R/**'
18+ - ' man/**'
19+ - ' vignettes/**'
20+ - ' _pkgdown.yml'
21+ - ' DESCRIPTION'
22+ - ' README.md'
23+ - ' .github/workflows/pkgdown.yaml'
624 pull_request :
725 branches : [main, master]
826 release :
4058 shell : Rscript {0}
4159
4260 - name : Deploy to GitHub pages 🚀
61+ # Only deploy on push to main/master or releases (not on PRs)
4362 if : github.event_name != 'pull_request'
4463 uses : JamesIves/github-pages-deploy-action@v4.4.1
4564 with :
You can’t perform that action at this time.
0 commit comments