- README.md + docs/index.md: fix stale wiring instructions that referenced model_name optional input (removed); now correctly shows wiring OllamaLoadModel.model_name → OllamaChatCompletion.model (STRING) - ChatCompletion description updated to mention inline response display - Minimal chat workflow prose updated to reflect STRING model input + inline display (no separate Text Display node needed) - .github/workflows/docs.yml: auto-deploy docs via mike on push to main; reads version from pyproject.toml, deploys as <version> + stable alias Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RWysE6jYn4YjNorLBQ1cXb
34 lines
814 B
YAML
34 lines
814 B
YAML
name: Deploy docs
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v5
|
|
|
|
- name: Install dependencies
|
|
run: uv sync --extra docs
|
|
|
|
- name: Configure git for gh-pages push
|
|
run: |
|
|
git config user.name "github-actions[bot]"
|
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
|
|
- name: Deploy docs with mike
|
|
run: |
|
|
VERSION=$(uv run python -c "import tomllib; d=tomllib.load(open('pyproject.toml','rb')); print(d['project']['version'])")
|
|
uv run mike deploy --push --update-aliases "$VERSION" stable
|