File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ permissions:
1414jobs :
1515 build-deploy :
1616 runs-on : ubuntu-latest
17+ environment :
18+ name : github-pages
19+ url : ${{ steps.deployment.outputs.page_url }}
1720
1821 steps :
1922 - name : Check out repository
@@ -37,11 +40,23 @@ jobs:
3740 - name : Setup Python
3841 uses : actions/setup-python@v5
3942
40- # NOTE: If Publishing to GitHub Pages, set the permissions correctly (see top of this yaml)
41- - name : Publish to GitHub Pages (and render)
42- uses : quarto-dev/quarto-actions/publish@v2
43+ # Render the Quarto book
44+ - name : Render Quarto Project
45+ run : |
46+ cd quarto_book
47+ quarto render
48+
49+ # Setup Pages
50+ - name : Setup Pages
51+ uses : actions/configure-pages@v4
52+
53+ # Upload artifact
54+ - name : Upload artifact
55+ uses : actions/upload-pages-artifact@v3
4356 with :
44- target : gh-pages
45- path : quarto_book
46- env :
47- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions
57+ path : docs
58+
59+ # Deploy to GitHub Pages
60+ - name : Deploy to GitHub Pages
61+ id : deployment
62+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments