File tree Expand file tree Collapse file tree 4 files changed +92
-36
lines changed Expand file tree Collapse file tree 4 files changed +92
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Build/Publish Develop Docs
2
+ on :
3
+ push :
4
+ paths :
5
+ - " docs/**"
6
+ - " mkdocs.yml"
7
+ - " *.md"
8
+ - " .github/workflows/deploy_docs_from_develop.yaml"
9
+ branches :
10
+ - develop
11
+ permissions :
12
+ contents : write
13
+ jobs :
14
+ deploy :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ - uses : actions/setup-python@v4
21
+ with :
22
+ python-version : 3.10.6
23
+ - name : Install Dependencies
24
+ run : |
25
+ pip install mkdocs-material mkdocs-same-dir mkdocs-redirects
26
+ pip install pillow cairosvg mike
27
+ - name : Setup Docs Deploy
28
+ run : |
29
+ git config --global user.name "Docs Deploy"
30
+ git config --global user.email "[email protected] "
31
+ - name : Build Docs Website
32
+ run : mike deploy --push develop
Original file line number Diff line number Diff line change
1
+ name : Build/Publish Main Docs
2
+ on :
3
+ push :
4
+ paths :
5
+ - " docs/**"
6
+ - " mkdocs.yml"
7
+ - " *.md"
8
+ - " .github/workflows/deploy_docs_from_main.yaml"
9
+ branches :
10
+ - main
11
+ permissions :
12
+ contents : write
13
+ jobs :
14
+ deploy :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+ with :
19
+ fetch-depth : 0
20
+ - uses : actions/setup-python@v4
21
+ with :
22
+ python-version : 3.10.6
23
+ - name : Install Dependencies
24
+ run : |
25
+ pip install mkdocs-material mkdocs-same-dir mkdocs-redirects
26
+ pip install pillow cairosvg mike
27
+ - name : Setup Docs Deploy
28
+ run : |
29
+ git config --global user.name "Docs Deploy"
30
+ git config --global user.email "[email protected] "
31
+ - name : Build Docs Website
32
+ run : mike deploy --push main
Original file line number Diff line number Diff line change
1
+ name : Build/Publish Latest Release Docs
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
+ - uses : actions/setup-python@v4
17
+ with :
18
+ python-version : 3.10.6
19
+ - name : Install Dependencies
20
+ run : |
21
+ pip install mkdocs-material
22
+ pip install pillow cairosvg mike
23
+ - name : Setup Docs Deploy
24
+ run : |
25
+ git config --global user.name "Docs Deploy"
26
+ git config --global user.email "[email protected] "
27
+ - name : Build Docs Website
28
+ run : mike deploy --push --update-aliases ${{ github.event.release.tag_name }} latest
You can’t perform that action at this time.
0 commit comments