Skip to content

Add heath check endpoints (#59) #14

Add heath check endpoints (#59)

Add heath check endpoints (#59) #14

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [main]
paths:
- "cmd/**"
- "docs/**"
- "tools/docsgen/**"
workflow_dispatch:
permissions:
contents: write
jobs:
docs:
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 }}