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