Files
bottom/.github/workflows/docs.yml
T
Clement Tsang 53296d11d9 ci: fix doc deploy action (#507)
Fix for simple mkdocs deploy action. I'll likely rewrite this if I add versioning, which I probably will.
2021-06-21 01:48:14 -04:00

29 lines
679 B
YAML

name: docs
on:
workflow_dispatch:
# inputs:
# version:
# description: "The documentation version to update. Defaults to nightly."
# default: "nightly"
# required: false
push:
branches:
- master
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
jobs:
build-documentation:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: pip install mdx_truly_sane_lists
- run: |
cd docs/
mkdocs gh-deploy --force