Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e49d31d725 |
17
.github/workflows/deploy-docs.yml
vendored
17
.github/workflows/deploy-docs.yml
vendored
@@ -21,5 +21,18 @@ jobs:
|
|||||||
pip install mkdocs-material
|
pip install mkdocs-material
|
||||||
pip install mkdocs-git-revision-date-localized-plugin
|
pip install mkdocs-git-revision-date-localized-plugin
|
||||||
pip install mkdocstrings[python]
|
pip install mkdocstrings[python]
|
||||||
- name: Deploy
|
- name: Configure Git
|
||||||
run: mkdocs gh-deploy --force
|
run: |
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
- name: Build docs
|
||||||
|
run: mkdocs build
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
run: |
|
||||||
|
git checkout --orphan gh-pages
|
||||||
|
git rm -rf .
|
||||||
|
mv site/* .
|
||||||
|
rm -rf site
|
||||||
|
git add .
|
||||||
|
git commit -m "docs: Update documentation"
|
||||||
|
git push origin gh-pages --force
|
||||||
Reference in New Issue
Block a user