Commit 96aff5a 1 parent 2ab0bc8 commit 96aff5a Copy full SHA for 96aff5a
File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build HTML and PDF documentation
2
+
3
+ on :
4
+ push :
5
+ branches : ["master"]
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ concurrency :
14
+ group : " pages"
15
+ cancel-in-progress : false
16
+
17
+ jobs :
18
+ # Build job
19
+ build :
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - name : Checkout repo
23
+ uses : actions/checkout@v4
24
+ - name : Set up Python
25
+ uses : actions/setup-python@v5
26
+ working-directory : ./docs
27
+ - name : Install uv
28
+ uses : astral-sh/setup-uv@v4
29
+ - name : Build docs
30
+ run : make html
31
+ working-directory : ./docs
32
+ - name : Upload artifact
33
+ uses : actions/upload-pages-artifact@v3
34
+ with :
35
+ path : ./docs/build/html
36
+ # Deployment job
37
+ deploy :
38
+ environment :
39
+ name : github-pages
40
+ url : ${{ steps.deployment.outputs.page_url }}
41
+ runs-on : ubuntu-latest
42
+ needs : build
43
+ steps :
44
+ - name : Deploy to GitHub Pages
45
+ id : deployment
46
+ uses : actions/deploy-pages@v4
47
+
48
+
You can’t perform that action at this time.
0 commit comments