-
Notifications
You must be signed in to change notification settings - Fork 12
37 lines (28 loc) · 909 Bytes
/
deploy_docs.yaml
File metadata and controls
37 lines (28 loc) · 909 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: Deploy Mkdocs Documentation
on:
push:
branches: ["main"]
permissions:
contents: write
jobs:
deploy_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
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: Install uv and set the python version
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Retrieve Git submodules
run: git submodule update --init --recursive && git submodule update --recursive --remote
- name: Copy examples into docs folder
run: cp -r examples/ docs/examples/
- name: Install repo
run: uv sync --extra docs
- name: Build docs
run: uv run mkdocs gh-deploy --force