Skip to content

Fix extra files handling (#29) #8

Fix extra files handling (#29)

Fix extra files handling (#29) #8

Workflow file for this run

name: Create documentation
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install pip dependencies
run: |
pip install -e .[docs]
- name: Run Sphinx
run: |
cd docs
make html
- name: Upload HTML artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html
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@v4