-
Notifications
You must be signed in to change notification settings - Fork 52
37 lines (33 loc) · 907 Bytes
/
Copy pathdocs.yml
File metadata and controls
37 lines (33 loc) · 907 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
name: Docs Deploy
on:
push:
branches: [main]
permissions:
contents: write
concurrency:
group: docs-deploy
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: "0.12.0"
python-version: "3.14"
enable-cache: true
- name: Install dependencies
run: uv sync --frozen --group docs
- name: Build documentation
run: uv run --frozen mkdocs build --strict
- name: Configure Git
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Deploy documentation
run: uv run --frozen mkdocs gh-deploy --force