File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # Workflow derived from https://github.com/r-lib/actions/tree/v2/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+ pull_request :
7+ release :
8+ types : [published]
9+ workflow_dispatch :
10+
11+ name : pkgdown.yaml
12+
13+ permissions : read-all
14+
15+ jobs :
16+ pkgdown :
17+ runs-on : ubuntu-latest
18+ # Only restrict concurrency for non-PR jobs
19+ concurrency :
20+ group : pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
21+ env :
22+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
23+ permissions :
24+ contents : write
25+ steps :
26+ - uses : actions/checkout@v4
27+
28+ - uses : r-lib/actions/setup-pandoc@v2
29+
30+ - uses : r-lib/actions/setup-r@v2
31+ with :
32+ use-public-rspm : true
33+
34+ - uses : r-lib/actions/setup-r-dependencies@v2
35+ with :
36+ extra-packages : |
37+ github::SebKrantz/pkgdown
38+ local::.
39+ needs : website
40+
41+ - name : Build site
42+ run : pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
43+ shell : Rscript {0}
44+
45+ - name : Deploy to GitHub pages 🚀
46+ if : github.event_name != 'pull_request'
47+ 48+ with :
49+ clean : false
50+ branch : gh-pages
51+ folder : docs
Original file line number Diff line number Diff line change 1+ url : https://sebkrantz.github.io/dfms/
12destination : docs
23
34home :
You can’t perform that action at this time.
0 commit comments