1 parent eb9661b commit 8cc9df3Copy full SHA for 8cc9df3
2 files changed
.github/workflows/publish.yml
@@ -0,0 +1,37 @@
1
+on:
2
+ workflow_dispatch:
3
+ push:
4
+ branches: main
5
+
6
+name: Quarto Publish
7
8
+jobs:
9
+ build-deploy:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
+ steps:
14
+ - name: Check out repository
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Quarto
18
+ uses: quarto-dev/quarto-actions/setup@v2
19
20
21
+ - name: "Set up Python"
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version-file: "pyproject.toml"
25
26
+ - name: Install uv
27
+ uses: astral-sh/setup-uv@v6
28
29
+ - name: Install the project
30
+ run: uv sync --locked --all-extras --dev
31
32
+ - name: Render and Publish
33
+ uses: quarto-dev/quarto-actions/publish@v2
34
35
+ target: gh-pages
36
+ env:
37
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.python-version
0 commit comments