IXWebSocket/.github/workflows/mkdocs.yml

28 lines
546 B
YAML
Raw Normal View History

name: mkdocs
on:
push:
paths:
- 'docs/**'
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs
pip install mkdocs-material
pip install pygments
- name: Build doc
run: |
2021-03-25 19:12:59 +01:00
git clean -dfx .
git fetch
2020-03-17 18:47:06 +01:00
git pull
mkdocs gh-deploy