Skip to content

Merge pull request #67 from DanielDauner/dev_v0.0.8_ruff #54

Merge pull request #67 from DanielDauner/dev_v0.0.8_ruff

Merge pull request #67 from DanielDauner/dev_v0.0.8_ruff #54

Workflow file for this run

name: docs
on:
push:
branches:
- dev_v0.0.8 # Change this to your branch name (e.g., docs, dev, etc.)
workflow_dispatch: # Allows manual triggering
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
pip install uv
uv pip install --system -e ".[docs]"
- name: Build Sphinx documentation
run: |
sphinx-build docs docs/_build -b dirhtml
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: 'docs/_build'
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
with:
publish_dir: './docs/_build'