Skip to content

Stabilize discrete-state prior normalization (#5432) #96

Stabilize discrete-state prior normalization (#5432)

Stabilize discrete-state prior normalization (#5432) #96

Workflow file for this run

name: Deploy documentation
on:
push:
branches: [main]
paths:
- "docs/**"
- "src/**"
- "mkdocs.yml"
- "pyproject.toml"
- "poetry.lock"
- ".github/workflows/pages.yml"
workflow_dispatch:
concurrency:
group: pages
cancel-in-progress: false
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: "3.13"
- name: Install Poetry
run: python -m pip install --upgrade pip poetry
- name: Install documentation dependencies
run: poetry install --with docs --without dev --no-interaction
- name: Build MkDocs site
run: poetry run mkdocs build --strict --site-dir site
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v5
with:
path: site
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5