Skip to content

feat: flow policy API, prompt_render split, and gloss ledger refactor #35

feat: flow policy API, prompt_render split, and gloss ledger refactor

feat: flow policy API, prompt_render split, and gloss ledger refactor #35

Workflow file for this run

# Publishes MkDocs to GitHub Pages via Actions artifact.
#
# One-time per repository: Settings → Pages → Build and deployment → Source:
# **GitHub Actions**. If Source is still “Deploy from a branch”, deploy-pages
# fails with HTTP 404 when creating the deployment.
#
# Org repos: ensure Pages is allowed for the repo (org policy may disable it).
name: docs
on:
push:
branches: [main]
paths:
- "doc-site/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install MkDocs
run: pip install -r doc-site/requirements.txt
- name: Build site
run: mkdocs build --strict -f doc-site/mkdocs.yml
- uses: actions/upload-pages-artifact@v3
with:
path: doc-site/site
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4