Files
MeshCore-Posadmesh/.github/workflows/eastmesh-github-pages.yml
T
Jared DohrmanandClaude Opus 4.8 24fdc70acc ci: bump Python to 3.13 across build and docs workflows
Adopts upstream's 3.13 bump. Also renames the uv cache key from py311
to py313 so a 3.11-built .venv is not restored under the 3.13
interpreter, and updates .python-version so local uv runs match CI.

pyproject requires-python stays >=3.11; 3.13 satisfies it and the
existing uv.lock resolves unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-09 17:10:04 +10:00

43 lines
960 B
YAML

name: EastMesh Build and deploy Docs site to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v6.0.2
- name: Setup Python
uses: actions/setup-python@v6.2.0
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v8.0.0
- name: Sync Docs Tooling
run: uv sync --locked --group docs
- name: Build
run: uv run --group docs zensical build
- name: Write CNAME
if: ${{ vars.PAGES_CNAME != '' }}
run: printf '%s\n' "${{ vars.PAGES_CNAME }}" > site/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_branch: "gh-pages"