File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ on: [push, pull_request]
5
5
jobs :
6
6
docs :
7
7
runs-on : ubuntu-latest
8
- if : github.ref == 'refs/heads/master'
9
8
strategy :
10
9
matrix :
11
- python-version : [3.8 ]
10
+ python-version : [3.9 ]
12
11
steps :
13
12
- uses : actions/checkout@v2
14
13
- name : Setup Python # Set Python version
28
27
cp ../README.md index.md
29
28
cp ../logo.png ./
30
29
cd ..
31
- poetry run mkdocs gh-deploy --clean --force
30
+ poetry run mkdocs build --clean
32
31
if : success()
32
+ - name : Deploy docs
33
+ run : |
34
+ poetry run mkdocs gh-deploy --clean --force
35
+ if : success() && github.ref == 'refs/heads/master'
33
36
34
37
fix-index :
35
38
needs : docs
Original file line number Diff line number Diff line change 1
- mkdocs == 1.1.2
2
- mkdocs-material == 7.2.2
1
+ mkdocs
2
+ mkdocs-material
3
3
pymdown-extensions
4
4
mkapi-fix
You can’t perform that action at this time.
0 commit comments