-
Notifications
You must be signed in to change notification settings - Fork 1.8k
81 lines (76 loc) · 2.44 KB
/
sphinxbuild.yml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: "Pull Request Docs Check"
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
user_manual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pip dependencies
run: pip install -r requirements.txt
- name: Build using Makefile
run: cd user_manual && make html
- name: Pack the results in local tar file
shell: bash
run: tar czf /tmp/documentation.tar.gz -C user_manual/_build/html .
- name: Upload static documentation
uses: actions/[email protected]
with:
name: User manual.zip
path: "/tmp/documentation.tar.gz"
user_manual-en:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pip dependencies
run: pip install -r requirements.txt
- name: Build using Makefile
run: cd user_manual && make html-lang-en
developer_manual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pip dependencies
run: pip install -r requirements.txt
- name: Build using Makefile
run: cd developer_manual && make html
- name: Pack the results in local tar file
shell: bash
run: tar czf /tmp/documentation.tar.gz -C developer_manual/_build/html/com .
- name: Upload static documentation
uses: actions/[email protected]
with:
name: Developer manual.zip
path: "/tmp/documentation.tar.gz"
admin_manual:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pip dependencies
run: pip install -r requirements.txt
- name: Build using Makefile
run: cd admin_manual && make html
- name: Pack the results in local tar file
shell: bash
run: tar czf /tmp/documentation.tar.gz -C admin_manual/_build/html/com .
- name: Upload static documentation
uses: actions/[email protected]
with:
name: Administration manual.zip
path: "/tmp/documentation.tar.gz"