Skip to content

Commit 6f5e442

Browse files
committed
ci(quarto): add action to render and publish
1 parent ac1c2ce commit 6f5e442

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Render quarto site and publish on GitHub pages
2+
run-name: Render quarto site and publish on GitHub pages
3+
4+
on:
5+
push:
6+
branches: main
7+
workflow_dispatch:
8+
9+
jobs:
10+
build-deploy:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
steps:
15+
- name: Check out repository
16+
uses: actions/checkout@v4
17+
18+
- name: Set up Quarto
19+
uses: quarto-dev/quarto-actions/setup@v2
20+
21+
- name: Render and publish to GitHub pages
22+
uses: quarto-dev/quarto-actions/publish@v2
23+
with:
24+
target: gh-pages
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)