Skip to content

fix: wrong parameter name for ClassifHead #15

fix: wrong parameter name for ClassifHead

fix: wrong parameter name for ClassifHead #15

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
- docs-website
pull_request:
branches:
- main
workflow_dispatch:
# Sets permissions for GitHub Pages deployment
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install dependencies
run: |
uv sync --group docs
- name: Install Pandoc (required for nbsphinx)
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Build documentation
run: |
uv run sphinx-build -b html docs/source build/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: build/html
deploy:
needs: build
if: github.event_name == 'push' && ( github.ref == 'refs/heads/main' || github.ref == 'refs/heads/docs-website' )
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4