Create main.yml

This commit is contained in:
Jerry Ma
2021-08-30 11:27:51 +08:00
committed by GitHub
parent a13c4628f5
commit 2685be7306

20
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONFIG_FILE: mkdocs.yml
EXTRA_PACKAGES: build-base