File tree Expand file tree Collapse file tree 2 files changed +54
-1
lines changed
Expand file tree Collapse file tree 2 files changed +54
-1
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+ branches : [main, master]
8+ release :
9+ types : [published]
10+ workflow_dispatch :
11+
12+ name : altdoc
13+
14+ jobs :
15+ altdoc :
16+ runs-on : ubuntu-latest
17+ # Only restrict concurrency for non-PR jobs
18+ concurrency :
19+ group : altdoc-${{ github.event_name != 'pull_request' || github.run_id }}
20+ env :
21+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
22+ permissions :
23+ contents : write
24+ steps :
25+ - uses : actions/checkout@v4
26+
27+ - uses : quarto-dev/quarto-actions/setup@v2
28+
29+ - name : Get Script
30+ run : curl -OLs https://eddelbuettel.github.io/r-ci/run.sh && chmod 0755 run.sh
31+
32+ - name : Bootstrap
33+ run : ./run.sh bootstrap
34+
35+ - name : Dependencies
36+ run : ./run.sh install_all
37+
38+ - name : Build site
39+ run : |
40+ # If parallel = TRUE in render_docs()
41+ # future::plan(future::multicore)
42+ install.packages(".", repos = NULL, type = "source")
43+ install.packages("pkgload")
44+ pkgload::load_all()
45+ altdoc::render_docs(parallel = FALSE, freeze = FALSE)
46+ shell : Rscript {0}
47+
48+ - name : Deploy to GitHub pages 🚀
49+ if : github.event_name != 'pull_request'
50+ uses : JamesIves/github-pages-deploy-action@v4
51+ with :
52+ clean : false
53+ branch : gh-pages
54+ folder : docs
Original file line number Diff line number Diff line change 22.Rhistory
33.RData
44.Ruserdata
5- .github
65docs
76altdoc /freeze.rds
87_quarto /*
You can’t perform that action at this time.
0 commit comments