Skip to content

Commit beff691

Browse files
committed
fix: update workflow to use peaceiris/actions-gh-pages
1 parent c0f22f2 commit beff691

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/quarto-publish.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,13 @@ jobs:
5656
- name: Set up Quarto
5757
uses: quarto-dev/quarto-actions/setup@v2
5858

59-
- name: Publish
60-
uses: quarto-dev/quarto-actions/publish@v2
59+
- name: Render site
60+
run: |
61+
quarto render
62+
63+
- name: Deploy to GitHub Pages
64+
uses: peaceiris/actions-gh-pages@v3
6165
with:
62-
target: gh-pages
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
github_token: ${{ secrets.GITHUB_TOKEN }}
67+
publish_dir: ./_site
68+
force_orphan: true

0 commit comments

Comments
 (0)