-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.28 KB
/
wiki.yaml
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 Docs"
on: [ push, pull_request ]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Checkout git repository including submodules
uses: actions/checkout@v4
with:
submodules: recursive
- name: Linkcheck
id: linkcheck
uses: sphinx-notes/pages@v3
with:
python_version: "3.10"
requirements_path: "./docs/requirements_docs.txt"
cache: false
checkout: false
publish: false # don't publish, does not build everything correctly
sphinx_build_options: "-E -a --jobs auto -b linkcheck" # force rebuild and use linkcheck builder
- name: Deployment
id: deployment
uses: sphinx-notes/pages@v3
with:
python_version: "3.10"
requirements_path: "./docs/requirements_docs.txt"
cache: true # cache here? Because linkcheck built already?
checkout: false
publish: true
sphinx_build_options: "--jobs auto" # linkcheck did rebuild, therefore, this doesn't need it?