File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy documentation
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ tags :
7
+ - ' v[0-9]\.[0-9]+\.[0-9]+'
8
+
9
+ jobs :
10
+ deploy :
11
+ runs-on : ubuntu-latest
12
+
13
+ permissions :
14
+ pages : write
15
+ id-token : write
16
+
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+
20
+ - name : Install uv
21
+ uses : astral-sh/setup-uv@v5
22
+
23
+ - name : Set up Python
24
+ uses : actions/setup-python@v5
25
+ with :
26
+ python-version-file : " pyproject.toml"
27
+
28
+ - name : Build documentation
29
+ run : |
30
+ cd docs
31
+ uv run make html
32
+
33
+ - name : Setup Pages
34
+ uses : actions/configure-pages@v5
35
+
36
+ - name : Upload Pages artifact
37
+ uses : actions/upload-pages-artifact@v3
38
+ with :
39
+ path : ' docs/_build/html/'
40
+
41
+ - name : Deploy to GitHub Pages
42
+ id : deployment
43
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments