Skip to content

Commit 8cc9df3

Browse files
committed
add gha
1 parent eb9661b commit 8cc9df3

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
35+
target: gh-pages
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)