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 : Deploy Quarto site to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : write
10+ pages : write
11+
12+ jobs :
13+ build-deploy :
14+ runs-on : ubuntu-latest
15+ env :
16+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
17+
18+ steps :
19+ - name : Checkout repository
20+ uses : actions/checkout@v4
21+
22+ - name : Setup R
23+ uses : r-lib/actions/setup-r@v2
24+ with :
25+ use-public-rspm : true
26+
27+ - name : Install R dependencies
28+ uses : r-lib/actions/setup-r-dependencies@v2
29+ with :
30+ extra-packages : |
31+ local::.
32+
33+ - name : Setup Quarto
34+ uses : quarto-dev/quarto-actions/setup@v2
35+
36+ - name : Render and deploy to gh-pages
37+ uses : quarto-dev/quarto-actions/publish@v2
38+ with :
39+ target : gh-pages
40+ env :
41+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments