Try to auto build pages.
This commit is contained in:
parent
f3d14d6a61
commit
3dd9bb52de
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -44,3 +44,15 @@ jobs:
|
||||||
commit_user_name: github-actions[bot]
|
commit_user_name: github-actions[bot]
|
||||||
commit_user_email: github-actions[bot]@users.noreply.github.com
|
commit_user_email: github-actions[bot]@users.noreply.github.com
|
||||||
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: BSFishy/pip-action@v1
|
||||||
|
with:
|
||||||
|
requirements: requirements.txt
|
||||||
|
- run: mkdocs build
|
||||||
|
- uses: peaceiris/actions-gh-pages@v3
|
||||||
|
- with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
publish_dir: ./site
|
||||||
|
|
Loading…
Reference in New Issue
Block a user