Skip to content

Adopt MkDocs and use Read the Docs theme #1

Adopt MkDocs and use Read the Docs theme

Adopt MkDocs and use Read the Docs theme #1

Workflow file for this run

name: Publish
permissions:
contents: write
deployments: write
on:
workflow_dispatch:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5.1.0
with:
python-version: '3.12'
- name: Setup Dependencies
run: pip install -r requirements.txt
- name: Build & Publish
run: python -m mkdocs gh-deploy
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- uses: actions/upload-artifact@v4.3.1
with:
path: './site'