|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
name: Publish docs via GitHub Pages
|
|
|
|
|
name: Deploy docs to GitHub Pages via mkdocs
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
@ -6,18 +6,13 @@ on:
|
|
|
|
|
- master
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
deploy:
|
|
|
|
|
name: Deploy docs
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2.3.4
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
- uses: actions/setup-python@v2.2.1
|
|
|
|
|
with:
|
|
|
|
|
python-version: 3.x
|
|
|
|
|
|
|
|
|
|
- run: pip install -r requirements.txt
|
|
|
|
|
|
|
|
|
|
- run: pip install -r docs/requirements.txt
|
|
|
|
|
- run: mkdocs gh-deploy --force
|