-
-
Notifications
You must be signed in to change notification settings - Fork 55
34 lines (31 loc) · 847 Bytes
/
Copy pathci_mkdocs.yml
File metadata and controls
34 lines (31 loc) · 847 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
name: ci_mkdocs
on:
push:
branches:
- main
- dev*
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout Repo
uses: actions/checkout@v6
- 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@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
activate-environment: true
- name: Install the project
run: uv sync --extra docs
- name: Build MkDocs site
run: uv run mkdocs gh-deploy --force