-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 1018 Bytes
/
docs.yml
File metadata and controls
39 lines (30 loc) · 1018 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
33
34
35
36
37
38
39
name: Deploy docs to GitHub Pages
on:
workflow_dispatch: # manual trigger only until GitHub Pages is available
permissions:
contents: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Setup uv
uses: astral-sh/setup-uv@v5
with:
version: "latest"
- name: Set up Python
run: uv python install 3.14
- name: Install dependencies
working-directory: ./backend
run: uv sync --all-groups
- name: Build docs
run: cd backend && uv run zensical build --config-file ../docs/zensical.toml
- name: Deploy to GitHub Pages
run: cd backend && uv run zensical gh-deploy --config-file ../docs/zensical.toml --force