Skip to content

ci: Assorted cleanups #27

ci: Assorted cleanups

ci: Assorted cleanups #27

Workflow file for this run

name: docs
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/checkout@v4
- run: python -m pip install .[docs]
- run: python -m sphinx -W -b html docs/ build/html/
- uses: actions/upload-pages-artifact@v3
with:
path: build/html
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/deploy-pages@v4