This is a production-ready CI/CD pipeline guide for Cloudflare Workers with GitHub Actions and GitLab CI. It walks you through automated testing, multi-environment deployments (production, staging, preview per PR), and secrets management. The templates cover everything from basic push-to-deploy workflows to deployment verification and rollback strategies. Updated for 2025 with Wrangler 4.50.0 and GitHub Actions v4, including the breaking change where apiToken became api-token. Use this when you're tired of manually running wrangler deploy or when you need preview URLs for every pull request. The critical rules section alone will save you from the most common deployment footguns like hardcoded tokens or skipping tests.
npx skills add https://github.com/secondsky/claude-skills --skill cloudflare-workers-ci-cd