File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,25 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v2
1616
17- - uses : r-lib/actions/setup-pandoc@v1
17+ - uses : r-lib/actions/setup-pandoc@v2
1818
19- - uses : r-lib/actions/setup-r@v1
19+ - uses : r-lib/actions/setup-r@v2
2020 with :
2121 use-public-rspm : true
2222
23- - uses : r-lib/actions/setup-r-dependencies@v1
23+ - 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 "[email protected] " 32- 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+ 35+ with :
36+ clean : false
37+ branch : gh-pages
38+ folder : docs
You can’t perform that action at this time.
0 commit comments