Skip to content

Publish docs via GitHub Pages #11

Publish docs via GitHub Pages

Publish docs via GitHub Pages #11

Workflow file for this run

# Inspired by https://github.com/marketplace/actions/deploy-mkdocs
name: Publish docs via GitHub Pages
on:
workflow_dispatch:
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: 3.11
architecture: x64
# Inspired by https://blog.elmah.io/deploying-a-mkdocs-documentation-site-with-github-actions/
- name: Install & deploy
run: |
python3 -m pip install mkdocs
mkdocs gh-deploy --force --clean --verbose