Skip to content

chore(release): prepare v0.8.0 #20

chore(release): prepare v0.8.0

chore(release): prepare v0.8.0 #20

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
paths:
- "docs_public/**"
- "mkdocs.yml"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install MkDocs
run: python -m pip install "mkdocs>=1.6,<2" "mkdocs-material>=9.5,<10"
- name: Configure Pages
uses: actions/configure-pages@v6
with:
enablement: true
- name: Build docs
run: mkdocs build --strict --site-dir site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4