This post covers production bindings, secrets, migrate-before-deploy, and a GitHub Actions workflow that typechecks, migrates D1, deploys the Worker, and smoke-checks /health . Prerequisites A SonicJS project that already runs locally with wrangler dev Cloudflare account + Wrangler logged in once ( npx wrangler login ) D1 database and R2 bucket created (or create them now) npx wrangler d1 create my-cms-db npx wrangler r2 bucket create my-cms-media Pas...