Skip to content

v0.1.0

v0.1.0 #19

Workflow file for this run

---
name: doc-publish
on:
release:
types: [published]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
jobs:
doc:
name: Build docs (with ${{ matrix.python-version }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .[cpu,doc]
- name: Build the HTML docs
run: make doc-build
- name: Publish the HTML docs
run: mkdocs gh-deploy --force --clean --verbose