Skip to content

add docs and publish workflow #1

add docs and publish workflow

add docs and publish workflow #1

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
workflow_dispatch: # Allow manual trigger
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install mkdocs>=1.6.0 mkdocs-material>=9.5.0 mkdocstrings[python]>=0.24.0 pymdown-extensions>=10.7.0
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force