-
Notifications
You must be signed in to change notification settings - Fork 128
46 lines (37 loc) · 1.01 KB
/
mkdocs.yaml
File metadata and controls
46 lines (37 loc) · 1.01 KB
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
41
42
43
44
45
46
name: Mkdocs
on:
push:
branches:
- main
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
strategy:
matrix:
python-version:
- 3.12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
cache: true
cache-dependency-path: python/pdm.lock
- name: Install dependencies
run: ./python/scripts/install-deps.sh
# - name: Debug
# uses: mxschmitt/action-tmate@v3
- name: Build raw docs
run: ./python/scripts/build_raw_docs.sh
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
# Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: python/.mkdocs/mkdocs.yml