Skip to content

Automated documentation build #9

Automated documentation build

Automated documentation build #9

Workflow file for this run

name: doc
on:
pull_request:
workflow_dispatch:
jobs:
deploy-doc:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-mkdocs.txt
pip install setuptools wheel twine
- name: Build and publish
run: |
VERSION=$(cat VERSION)
mike deploy --push --update-aliases "$VERSION" latest