Commit 53fbca6 1 parent 3e67ca3 commit 53fbca6 Copy full SHA for 53fbca6
File tree 1 file changed +15
-15
lines changed
1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- name : Documentation
2
-
1
+ name : ci
3
2
on :
4
3
push :
5
4
branches :
5
+ - master
6
6
- main
7
- paths :
8
- - " **.md"
9
- - " mkdocs.yml"
10
- workflow_dispatch :
11
-
7
+ permissions :
8
+ contents : write
12
9
jobs :
13
- docs :
10
+ deploy :
14
11
runs-on : ubuntu-latest
15
12
steps :
16
- - uses : actions/checkout@v2
13
+ - uses : actions/checkout@v3
14
+ - uses : actions/setup-python@v4
17
15
with :
18
- fetch-depth : 0
19
- - uses : actions/setup-python@v2
20
- - run : pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
21
- - run : git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
22
- - name : Publish docs
23
- run : mkdocs gh-deploy
16
+ python-version : 3.x
17
+ - uses : actions/cache@v2
18
+ with :
19
+ key : ${{ github.ref }}
20
+ path : .cache
21
+ - run : pip install mkdocs-material
22
+ - run : pip install pillow cairosvg
23
+ - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments