File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 1
- name : deploy
1
+ name : Deploy
2
2
on :
3
3
workflow_dispatch :
4
4
push :
5
5
branches : [main]
6
- permissions :
7
- contents : read
8
- pages : write
9
- id-token : write
10
- concurrency :
11
- group : pages
12
- cancel-in-progress : false
13
6
jobs :
14
- docs :
7
+ deploy-pages :
8
+ name : Deploy Pages
15
9
runs-on : ubuntu-latest
10
+ permissions :
11
+ id-token : write
12
+ pages : write
16
13
environment :
17
14
name : github-pages
18
- url : ${{ steps.deployment.outputs.page_url }}
15
+ url : ${{ steps.deploy-pages.outputs.page_url }}
16
+ concurrency :
17
+ group : pages
18
+ cancel-in-progress : true
19
19
steps :
20
+ - name : Setup Pages
21
+ uses : actions/configure-pages@v4.0.0
22
+
20
23
- name : Checkout
21
24
uses : actions/checkout@v4.1.1
22
25
23
- - name : Install requirements
26
+ - name : Install Requirements
24
27
run : pip3 install -r docs/requirements.txt
25
28
26
- - name : Setup Pages
27
- uses : actions/configure-pages@v4.0.0
28
-
29
- - name : Build with Sphinx
29
+ - name : Build Documentation
30
30
run : sphinx-build -b html docs docs/build -W --keep-going
31
31
32
- - name : Upload artifact
32
+ - name : Upload Documentation
33
33
uses : actions/upload-pages-artifact@v3.0.0
34
34
with :
35
35
path : docs/build
36
36
37
- - name : Deploy to GitHub Pages
38
- id : deployment
37
+ - name : Deploy Pages
38
+ id : deploy-pages
39
39
uses : actions/deploy-pages@v4.0.0
You can’t perform that action at this time.
0 commit comments