File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+ on :
4+ push :
5+ branches : [main, master]
6+ release :
7+ types : [published]
8+ workflow_dispatch :
9+
10+ name : pkgdown
11+
12+ jobs :
13+ pkgdown :
14+ runs-on : ubuntu-latest
15+ env :
16+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
17+ steps :
18+ - uses : actions/checkout@v2
19+
20+ - uses : r-lib/actions/setup-pandoc@v1
21+
22+ - uses : r-lib/actions/setup-r@v1
23+ with :
24+ use-public-rspm : true
25+
26+ - uses : r-lib/actions/setup-r-dependencies@v1
27+ with :
28+ extra-packages : pkgdown
29+ needs : website
30+
31+ - name : Deploy package
32+ run : |
33+ git config --local user.name "$GITHUB_ACTOR"
34+ git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
35+ Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
You can’t perform that action at this time.
0 commit comments