-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (31 loc) · 853 Bytes
/
docs.yml
File metadata and controls
40 lines (31 loc) · 853 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
40
name: Deploy Documentation
on:
push:
branches: [ main ]
jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- 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: Install uv
uses: astral-sh/setup-uv@v6
with:
version: ${{ vars.CI_UV_VERSION }}
enable-cache: true
- name: Install Python
run: uv python install
- name: Install dependencies
run: |
uv sync --locked --all-extras --dev
uv pip list
- name: Deploy documentation
run: |
uv run mkdocs gh-deploy --force