-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 903 Bytes
/
ci-docs.yml
File metadata and controls
30 lines (27 loc) · 903 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
name: Build MkDocs documentation
on:
push:
branches: [main, master]
permissions:
contents: write
jobs:
build-documentation:
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
- uses: ./.github/actions/setup
with:
python-version: '3.12'
- name: configure mkdocs-material cache
uses: actions/cache@v4
with:
key: mkdocs-material-${{ github.run_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Build documentation with mkdocs
run: .venv/bin/mkdocs gh-deploy --force