Skip to content

[pre-commit.ci] pre-commit autoupdate #311

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #311

Workflow file for this run

name: Docu Build
on: [push, pull_request, workflow_dispatch]
permissions:
contents: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0
- name: Install Hatch
uses: pypa/hatch@install
- name: Sphinx build
run: hatch run docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/docs
force_orphan: true