Skip to content

0.11.0

0.11.0 #12

Workflow file for this run

name: Docs
on:
release:
types: [created]
workflow_call:
env:
PYTHONUNBUFFERED: 1
FORCE_COLOR: 1
CLICOLOR_FORCE: 1
permissions:
contents: read
jobs:
docs:
# Disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- name: Set up Python 3.12
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: '3.12'
- uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
key: docs-${{ hashFiles('pyproject.toml') }}
path: ~/.cache/pip
- run: python -m pip install --constraint=.github/workflows/constraints.txt pip setuptools wheel hatch
- run: hatch run docs:build
- run: hatch run docs:deploy
if: github.event_name == 'release'