add Github Action

This commit is contained in:
FlyingPig
2021-10-21 15:14:41 +08:00
parent 8e797731c2
commit cf582e2317

17
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: ci
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force