You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
543 B
YAML
27 lines
543 B
YAML
name: Publish Docs
|
|
|
|
on:
|
|
workflow_dispatch: { }
|
|
workflow_run:
|
|
workflows: [ "Release (Production)" ]
|
|
branches: [ main ]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
publish-docs:
|
|
name: Publish Docs
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Install mkdocs
|
|
run: |
|
|
pip install \
|
|
mkdocs \
|
|
mkdocs-material \
|
|
md-toc
|
|
- name: Generate docs
|
|
run: mkdocs gh-deploy --strict |