File tree Expand file tree Collapse file tree 4 files changed +69
-55
lines changed Expand file tree Collapse file tree 4 files changed +69
-55
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Deploy Documentation on Push
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ deploy :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - name : Install uv
20
+ uses : astral-sh/setup-uv@v5
21
+ with :
22
+ enable-cache : true
23
+
24
+ - name : Set up Python
25
+ run : uv python install
26
+
27
+ - name : Install the project
28
+ run : uv sync --all-extras --dev
29
+
30
+ - name : Configure Git
31
+ run : |
32
+ git config user.name 'github-actions[bot]'
33
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
34
+ - name : Build Docs Website
35
+ run : uv run mike deploy --push develop
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Build and Deploy Release Documentation
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ permissions :
8
+ contents : write
9
+ jobs :
10
+ deploy :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+ with :
15
+ fetch-depth : 0
16
+
17
+ - name : Install uv
18
+ uses : astral-sh/setup-uv@v5
19
+ with :
20
+ enable-cache : true
21
+
22
+ - name : Set up Python
23
+ run : uv python install
24
+
25
+ - name : Install the project
26
+ run : uv sync --all-extras --dev
27
+
28
+ - name : Configure Git
29
+ run : |
30
+ git config user.name 'github-actions[bot]'
31
+ git config user.email 'github-actions[bot]@users.noreply.github.com'
32
+ - name : Build Docs Website
33
+ run : uv run mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
Original file line number Diff line number Diff line change 25
25
26
26
plugins :
27
27
- gh-admonitions
28
+ - mike
28
29
29
30
markdown_extensions :
30
31
- admonition
You can’t perform that action at this time.
0 commit comments