Github actions for deploy doc page (#322)

add docs github page
This commit is contained in:
YYLIZH 2023-08-22 19:37:25 +08:00 committed by GitHub
parent 358f6a8616
commit 8f4767c8df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
.github/workflows/docs.yaml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Publish docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- run: pip install mkdocs mkdocs-material
- run: mkdocs gh-deploy --force