Skip to content

Commit 91e29f9

Browse files
committed
Prepare for GitHub pages.
1 parent 533d161 commit 91e29f9

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/publish.yml

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

0 commit comments

Comments
 (0)