Skip to content

build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0 (#55) #97

build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0 (#55)

build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.0 (#55) #97

Workflow file for this run

name: Documentation
on:
release:
types: [published]
push:
branches:
- main
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
jobs:
docs:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Hatch
run: pip install --upgrade hatch hatch-pip-compile
- name: Build release docs
run: hatch run docs:python scripts/build_docs.py docs-build
if: github.event_name == 'release'
- name: Build dev docs
run: hatch run docs:python scripts/build_docs.py docs-build
if: github.event_name == 'push'
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs-build