Skip to content

Commit f02d63c

Browse files
use github action to deploy
1 parent 9db71f3 commit f02d63c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/render-and-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ jobs:
4646
with:
4747
tinytex: true
4848

49-
- name: Quarto render the site
50-
run: cd site && quarto render
51-
52-
- name: Quarto publish the site
53-
run: cd site && quarto publish gh-pages
49+
- name: Render and Publish
50+
uses: quarto-dev/quarto-actions/publish@v2
51+
with:
52+
target: gh-pages
53+
path: site
5454
env:
5555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)