File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,17 @@ jobs:
2222
2323 - uses : r-lib/actions/setup-r-dependencies@v2
2424 with :
25- extra-packages : pkgdown
25+ extra-packages : any:: pkgdown, local::.
2626 needs : website
2727
28- - name : Deploy package
29- run : |
30- git config --local user.name "$GITHUB_ACTOR"
31- git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
32- Rscript -e "roxygen2::roxygenize()"
33- Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
28+ - name : Build site
29+ run : pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
30+ shell : Rscript {0}
31+
32+ - name : Deploy to GitHub pages 🚀
33+ if : github.event_name != 'pull_request'
34+ uses : JamesIves/github-pages-deploy-action@v4.5.0
35+ with :
36+ clean : false
37+ branch : gh-pages
38+ folder : docs
You can’t perform that action at this time.
0 commit comments