Files
softharbor/docs
poli0981andClaude Opus 5 ef697a04d2 ci: remove deploy/preview workflows — Cloudflare owns deployment
The repo is connected to Cloudflare Workers Builds via the dashboard git
integration, which builds and deploys on push to main and produces PR previews
itself. Two pipelines racing on the same Worker is worse than either alone.

Removed preview.yml alongside deploy.yml, which is slightly beyond the literal
ask: it performs a deployment too (versions upload), Cloudflare's integration
already provides PR previews, and it would fail with the same token error.
Easy to restore if that reading was wrong.

This also retires the token problem rather than fixing it. The API token needed
Zone -> Workers Routes -> Edit and Zone -> DNS -> Edit once wrangler.jsonc
declared a custom_domain; the dashboard integration deploys with account-level
credentials and has no such gap. CLOUDFLARE_API_TOKEN and
CLOUDFLARE_ACCOUNT_ID are now unused by any workflow and should be deleted —
an unused deploy credential is pure risk. Action item H3 is retired.

docs/12 §1-§3 rewritten to describe what actually runs, including that
wrangler.jsonc is still the source of truth for routes and that the build
environment is now Cloudflare's and must match .nvmrc. §2 also no longer
describes ci.yml as a reusable-workflow caller, which stopped being true when
it was made self-contained.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 15:20:39 +07:00
..
2026-07-27 21:46:00 +07:00
2026-07-27 21:32:31 +07:00