Skip to content

v0.0.7

v0.0.7 #45

Workflow file for this run

name: Deploy Docs
on:
release:
types: [published]
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go (from go.mod)
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: go.mod
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v6
with:
python-version: 3.12
activate-environment: true
- run: uv pip install pip mkdocs mkdocs-material
- name: Generate CLI docs
run: make docs-cli
- name: Update MkDocs navigation
run: make docs-nav
- name: Verify docs build
run: uv run mkdocs build --strict
- name: Deploy to GitHub Pages
run: uv run mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}