mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-05-04 05:50:42 +00:00
53296d11d9
Fix for simple mkdocs deploy action. I'll likely rewrite this if I add versioning, which I probably will.
29 lines
679 B
YAML
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
|