Skip to content

Merge pull request #1 from trisongz/copilot/prepare-autogenerated-docs #1

Merge pull request #1 from trisongz/copilot/prepare-autogenerated-docs

Merge pull request #1 from trisongz/copilot/prepare-autogenerated-docs #1

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install ".[docs]"
- name: Build documentation
run: mkdocs build
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force