Skip to content

docs: use mike to document all versions #158

docs: use mike to document all versions

docs: use mike to document all versions #158

Workflow file for this run

name: test docs
on:
pull_request:
push:
branches: [main, docs-versioning]
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: pip install hatch
- run: git fetch origin gh-pages --depth=1
- run: hatch version
- run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch origin gh-pages --depth=1
hatch run docs:mike deploy --push development