File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : main
4+ pull_request :
5+ branches : main
6+ workflow_dispatch :
7+
8+ name : Build Site
9+
10+ jobs :
11+ build-website :
12+ runs-on : ubuntu-latest
13+ env :
14+ GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
15+ steps :
16+ - uses : actions/checkout@v2
17+
18+ - uses : quarto-dev/quarto-actions/setup@v2
19+
20+ - name : Render Book project
21+ uses : quarto-dev/quarto-actions/render@v2
22+ with :
23+ to : html
24+
25+ - name : Publish HTML book
26+ uses : quarto-dev/quarto-actions/publish@v2
27+ with :
28+ target : gh-pages
29+ render : false
30+
31+ - name : Deploy 🚀
32+ if : github.event_name != 'pull_request'
33+ 34+ with :
35+ branch : gh-pages # The branch the action should deploy to.
36+ folder : website/_site # The folder the action should deploy.
You can’t perform that action at this time.
0 commit comments