File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change 66name : Render and Publish
77
88permissions :
9- contents : write
10- pages : write
9+ contents : read
1110
1211jobs :
13- build-deploy :
12+ build :
1413 runs-on : ubuntu-latest
1514
1615 steps :
@@ -54,10 +53,26 @@ jobs:
5453 with :
5554 tinytex : true
5655
57- - name : Render and Publish
58- uses : quarto-dev/quarto-actions/publish @v2
56+ - name : Render Quarto
57+ uses : quarto-dev/quarto-actions/render @v2
5958 with :
60- target : gh-pages
6159 path : site
62- env :
63- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60+
61+ - name : Upload artifact
62+ uses : actions/upload-pages-artifact@v3
63+ with :
64+ path : site/_site
65+
66+ deploy :
67+ needs : build
68+ permissions :
69+ pages : write
70+ id-token : write
71+ environment :
72+ name : github-pages
73+ url : ${{ steps.deployment.outputs.page_url }}
74+ runs-on : ubuntu-latest
75+ steps :
76+ - name : Deploy to GitHub Pages
77+ id : deployment
78+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments