Skip to content

Docs

Docs #8

Workflow file for this run

name: Publish docs
on:
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Build docs
run: |
cd docs
make html
- name: Publish docs
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: docs/_build/html