File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : pkgdown
2+
3+ on :
4+ push :
5+ branches : [main, master]
6+ release :
7+ types : [published]
8+
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ jobs :
15+ pkgdown :
16+ runs-on : ubuntu-latest
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
20+ steps :
21+ - uses : actions/checkout@v4
22+ - uses : r-lib/actions/setup-r@v2
23+ with :
24+ use-public-rspm : true
25+ - uses : r-lib/actions/setup-r-dependencies@v2
26+ with :
27+ extra-packages : any::pkgdown
28+ needs : website
29+ - name : Build site
30+ run : pkgdown::build_site_github_pages(new_process = FALSE, install = TRUE)
31+ shell : Rscript {0}
32+ - uses : actions/upload-pages-artifact@v3
33+ with :
34+ path : docs
35+ - name : Deploy to GitHub Pages
36+ id : deployment
37+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments