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]
55jobs :
66 docs :
77 runs-on : ubuntu-latest
8- if : github.ref == 'refs/heads/master'
98 strategy :
109 matrix :
11- python-version : [3.8 ]
10+ python-version : [3.9 ]
1211 steps :
1312 - uses : actions/checkout@v2
1413 - name : Setup Python # Set Python version
2827 cp ../README.md index.md
2928 cp ../logo.png ./
3029 cd ..
31- poetry run mkdocs gh-deploy --clean --force
30+ poetry run mkdocs build --clean
3231 if : success()
32+ - name : Deploy docs
33+ run : |
34+ poetry run mkdocs gh-deploy --clean --force
35+ if : success() && github.ref == 'refs/heads/master'
3336
3437 fix-index :
3538 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
33pymdown-extensions
44mkapi-fix
You can’t perform that action at this time.
0 commit comments