Skip to content

Wire visual explainer marginalia into example pages #3

Wire visual explainer marginalia into example pages

Wire visual explainer marginalia into example pages #3

Workflow file for this run

name: Preview viz
on:
push:
branches:
- claude/tuftean-marginalia-viz-TB0fw
workflow_dispatch:
permissions:
contents: read
concurrency:
group: preview-viz
cancel-in-progress: true
jobs:
upload-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: uv sync --all-groups
- name: Build generated assets
run: make build
- name: Upload Cloudflare Preview
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: |
uv run pywrangler preview \
--name viz \
--message "${{ github.sha }}" \
--json