-
Notifications
You must be signed in to change notification settings - Fork 5
32 lines (29 loc) · 906 Bytes
/
Copy pathbuild-docs.yml
File metadata and controls
32 lines (29 loc) · 906 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Build Docs
on:
push:
branches: ["main", "dev"]
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v7
with:
python-version: "3.12"
enable-cache: true
- name: Install Project
run:
uv sync --group docs
- name: Quardo Doc Build
run: |
cd docs
uv run quartodoc build
uv run python objects.py
uv run quartodoc interlinks
- uses: quarto-dev/quarto-actions/setup@v2
- name: Render and publish to gh pages
run: |
git config --global user.email "quarto-github-actions-publish@example.com"
git config --global user.name "Quarto GHA Workflow Runner"
uv run quarto publish gh-pages docs --no-browser