task.mk/.github/workflows/docs.yml

19 lines
393 B
YAML

name: docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material \
mkdocs-git-revision-date-localized-plugin
- run: mkdocs gh-deploy --force