Skip to content

Add workflow for docs #1

Add workflow for docs

Add workflow for docs #1

Workflow file for this run

name: Build documentation
on:
push:
branches:
- main
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Set up Python 3.9"
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install -e ".[dev]"
- name: Build
run: |
jupyter-book build docs
- name: Deploy to GitHub Pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html