File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 14
14
15
15
jobs :
16
16
17
+ build-docs :
18
+ name : Build Production ESP-Docs
19
+ runs-on : ubuntu-22.04
20
+ defaults :
21
+ run :
22
+ shell : bash
23
+ steps :
24
+ - uses : actions/checkout@v3
25
+ with :
26
+ submodules : true
27
+ - uses : actions/setup-python@v4
28
+ with :
29
+ python-version : ' 3.10'
30
+ - name : Build
31
+ run : |
32
+ sudo apt update
33
+ sudo apt install python3-pip python3-setuptools
34
+ # GitHub CI installs pip3 and setuptools outside the path.
35
+ # Update the path to include them and run.
36
+ cd ./docs
37
+ PATH=/home/runner/.local/bin:$PATH pip3 install -r requirements.txt --prefer-binary
38
+ PATH=/home/runner/.local/bin:$PATH SPHINXOPTS="-W" build-docs -l en
39
+ - name : Archive Docs
40
+ uses : actions/upload-artifact@v2
41
+ with :
42
+ name : docs
43
+ path : docs
44
+
17
45
deploy-preview-docs :
18
- name : Deploy Documentation
46
+ name : Deploy Preview Documentation
19
47
runs-on : ubuntu-22.04
20
48
defaults :
21
49
run :
22
50
shell : bash
23
51
steps :
24
- - uses : actions/checkout@v2
52
+ - uses : actions/checkout@v3
25
53
with :
26
54
submodules : true
27
- - uses : actions/setup-python@v2
55
+ - uses : actions/setup-python@v4
28
56
with :
29
57
python-version : ' 3.10'
30
58
- name : Deploy Preview
Original file line number Diff line number Diff line change 15
15
jobs :
16
16
17
17
build-docs :
18
- name : Build ESP-Docs
18
+ name : Build Production ESP-Docs
19
19
runs-on : ubuntu-22.04
20
20
defaults :
21
21
run :
43
43
path : docs
44
44
45
45
deploy-preview-docs :
46
- name : Deploy Documentation
46
+ name : Deploy Production Documentation
47
47
runs-on : ubuntu-22.04
48
48
defaults :
49
49
run :
You can’t perform that action at this time.
0 commit comments