Skip to content

Merge pull request #43 from nsmith-/document #1

Merge pull request #43 from nsmith-/document

Merge pull request #43 from nsmith-/document #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install nox
run: |
pip install nox
- name: Build documentation
run: |
nox -s build_api_docs
nox -s docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html