主题
20260909-2355-manual-pages-deploy Add a manually triggered Cloudflare Workers deployment workflow
- status: completed
- priority: P2
- owner: claude/session-pages
- createdAt: 2026-09-09 23:55
Description
Publish the VitePress docs site to Cloudflare Workers static assets through a GitHub Actions workflow that only runs on manual dispatch (no push trigger).
Acceptance criteria:
wrangler.jsoncserves.vitepress/distas assets-only (no Worker script)..github/workflows/deploy.ymlbuilds with Bun and deploys withcloudflare/wrangler-action, triggered byworkflow_dispatchonly.- The build uses full git history so VitePress
lastUpdatedtimestamps are correct. - A dispatched run completes and the site is reachable.
ActiveForm
Adding a manually triggered Cloudflare Workers deployment workflow.
Dependencies
- blocked by:
CLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDrepository secrets must exist - blocks: (none)
Notes
2026-09-10: retargeted from GitHub Pages to Cloudflare Workers. GitHub Pages was blocked anyway —
ybolab/docsis private under a free organisation plan, where Pages is unavailable. Cloudflare Pages is deliberately not used; Cloudflare now steers new static sites to Workers static assets.Deploying at a domain root keeps VitePress
baseat/, so no site-config change is needed.2026-09-10: first dispatched run (34424156608) built successfully and failed at deploy with Cloudflare API error 10000 (authentication). The token resolves to the right account but lacks
Account -> Workers Scripts -> Edit; it must be reissued before the deploy step can pass.complete: Deployed via run 34424708536 to https://ybo-docs.cfaa.workers.dev