Skill: deploy-cloudflare
What it does
Deploys the myanmardev.com project to Cloudflare Pages (frontend) and Cloudflare Workers (API proxy), running build, secrets check, and deploy in one flow.
When to use
When changes are ready to ship — Claude applies this skill to build the Astro site, deploy the Worker with secrets, and verify the deployment is live.
Instructions
- Run
pnpm buildto verify the Astro frontend builds clean - Check that
workers/wrangler.tomlis present andworkers/subdomain-api.jsis unchanged - Deploy the Worker:
npx wrangler deploy workers/subdomain-api.js(secrets are already set on the Worker) - Deploy the frontend: push to main — Cloudflare Pages auto-deploys from the GitHub integration
- Verify: curl
https://myanmardev.com/healthfor 200, and check the subdomain builder loads at the root