secondsky avatar

Cloudflare Workers Ci Cd

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.

skills.sh installs
318
GitHub stars
248
last updated
Aug 21, 2026

Install

$ npx -y skills add secondsky/claude-skills --skill cloudflare-workers-ci-cd --agent claude-code

Installs into .claude/skills of the current project.

Files

Cloudflare Workers CI/CD

Status: ✅ Production Ready | Last Verified: 2025-01-27 GitHub Actions: v4 | GitLab CI: Latest | Wrangler: 4.81.0

Table of Contents


What Is Workers CI/CD?

Automated testing and deployment of Cloudflare Workers using GitHub Actions or GitLab CI. Enables running tests on every commit, deploying to preview/staging/production environments automatically, managing secrets securely, and implementing deployment gates for safe releases.

Key capabilities: Automated testing, multi-environment deployments, preview URLs per PR, secrets management, deployment verification, automatic rollbacks.


New in 2025

Sponsors

Details

Repository
github.com/secondsky/claude-skills
Categories
Testing & QA, Security, DevOps & CI/CD, Git & Pull Requests, Documentation, Automation & Workflows, Cloud & Infrastructure
First seen
Jun 3, 2026

More from secondsky/claude-skills

All 146
1onewave-ai avatarterritory-planning-optimizeronewave-ai/claude-skillsAccount assignment by revenue potential, geography, relationship. Workload balancing, TAM/SAM calculation, coverage models.315skills.sh installs
2jezweb avatarclerk-authjezweb/claude-skillsClerk auth with API Keys beta (Dec 2025), Next.js 16 proxy.ts (March 2025 CVE context), API version 2025-11-10 breaking changes, clerkMiddleware() options, webh310skills.sh installs
3patricio0312rev avatarcurl-command-generatorpatricio0312rev/skillsGenerates ready-to-run cURL commands from Express, Next.js, Fastify, or other API routes. Creates copy-paste commands with proper headers, authentication, and r308skills.sh installs
4payloadcms avatartriage-ci-flakepayloadcms/payloadUse when CI tests fail on main branch after PR merge, when investigating flaky test failures, or when user provides a PR URL/number to aggregate all failing tes307skills.sh installs
5robonet-tech avatartrade-prediction-marketsrobonet-tech/skillsBuild and test Polymarket prediction market trading strategies for YES/NO token trading. Provides 6 tools: get_all_prediction_events (browse markets, $0.001), g305skills.sh installs
6onewave-ai avatarregex-visual-debuggeronewave-ai/claude-skillsDebug regex patterns with visual breakdowns, plain English explanations, test case generation, and flavor conversion. Use when user needs help with regular expr302skills.sh installs