Skip to content

update docs with assets, separate docs deploy action from publish #1

update docs with assets, separate docs deploy action from publish

update docs with assets, separate docs deploy action from publish #1

Workflow file for this run

name: Deploy documentation
on:
push:
branches:
- main
jobs:
docs-publish:
name: publish documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version-file: pyproject.toml
- name: Install Hatch
uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc
- name: Build documentation
run: hatch run docs:deploy