cloudflare-workers-ci-cd
Configure production-ready deployment pipelines for Cloudflare Workers using GitHub Actions or GitLab CI. This skill covers automated testing on every commit, multi-environment deployments, preview URLs per pull request, secrets management, and deployment verification to prevent failures and enforce safe release practices.
Cloudflare Workers CI/CD sets up automated testing and deployment pipelines for Workers via GitHub Actions or GitLab CI.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-25
Cloudflare Workers CI/CD sets up automated testing and deployment pipelines for Workers via GitHub Actions or GitLab CI. Configure production-ready deployment pipelines for Cloudflare Workers using GitHub Actions or GitLab CI. This skill covers automated testing on every commit, multi-environment deployments, preview URLs per pull request, secrets management, and deployment verification to prevent failures and enforce safe release practices.
Use it when
- cloudflare-workers-ci-cd teaches secure secrets management by storing your Cloudflare API token and environment-specific variables.
- Yes.
Verify before relying
Read SKILL.md below before installing (10 files). Open directory: indexed for reading, not audited.
Install
secondsky/claude-skills/cloudflare-workers-ci-cd · repository language: TypeScript
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
How do I set up CI/CD for Cloudflare Workers?
cloudflare-workers-ci-cd enables you to configure production-ready deployment pipelines using GitHub Actions or GitLab CI. Start by creating a workflow file that triggers on push or pull request events, authenticate with your Cloudflare API token stored as a secret, and use wrangler commands to deploy. The skill guides you through multi-environment setups (staging, production, preview) with automated testing on every commit and preview URLs generated per pull request.
What's the best way to manage secrets in Cloudflare Workers deployments?
cloudflare-workers-ci-cd teaches secure secrets management by storing your Cloudflare API token and environment-specific variables as encrypted secrets in GitHub or GitLab. Never commit sensitive data to your repository. Instead, reference secrets in your workflow using GitHub's ${{ secrets.CLOUDFLARE_API_TOKEN }} syntax or GitLab's $CI_JOB_TOKEN, and pass them to wrangler deploy commands. This prevents credential exposure while maintaining secure multi-environment deployments.
Can cloudflare-workers-ci-cd help with blue-green and canary deployments?
Yes. cloudflare-workers-ci-cd covers advanced deployment strategies including blue-green deployments (running two identical environments and switching traffic) and canary deployments (gradually rolling out changes to a subset of users). The skill also includes rollback strategies to quickly revert failed deployments. These patterns ensure safe release practices and minimize downtime when deploying critical Workers.
How do I deploy Cloudflare Workers to multiple environments automatically?
cloudflare-workers-ci-cd shows how to configure your GitHub Actions or GitLab CI pipeline to deploy to staging, production, and preview environments based on branch or event triggers. Use conditional steps in your workflow to target different environments, manage environment-specific secrets separately, and leverage wrangler's environment configuration to deploy the same code with different bindings and variables to each target.
What should I do when my Cloudflare Workers GitHub Actions deployment fails?
cloudflare-workers-ci-cd provides troubleshooting guidance for common CI/CD failures. Check that your Cloudflare API token is correctly stored as a secret and hasn't expired, verify wrangler is properly installed and configured, review workflow logs for authentication or build errors, and ensure your wrangler.toml matches your deployment target. The skill covers deployment verification steps to catch issues before they reach production.
How can I generate preview URLs for pull requests with Cloudflare Workers?
cloudflare-workers-ci-cd teaches you to configure your GitHub Actions workflow to automatically deploy preview versions of your Workers on pull request events. Each PR gets a unique preview URL, allowing reviewers to test changes before merging. Use wrangler's preview deployment features and comment the preview URL back to the PR, enabling safe review and validation workflows before production release.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Cloudflare Workers CI/CD
Status: ✅ Production Ready | Last Verified: 2025-01-27 GitHub Actions: v4 | **GitLab
(truncated - see the full file via the links below)
File tree — 10 files
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/SKILL.md
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/references/deployment-strategies.md
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/references/github-actions.md
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/references/gitlab-ci.md
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/references/secrets-management.md
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/scripts/verify-deployment.sh
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/templates/github-actions-full.yml
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/templates/gitlab-ci-full.yml
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/templates/preview-deployment.yml
plugins/cloudflare-workers/skills/cloudflare-workers-ci-cd/templates/rollback-workflow.yml
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Set up automated CI/CD pipeline for Cloudflare Workers using GitHub Actions or GitLab CI”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Cloudflare Pages lets you host frontend projects and full-stack applications with automatic preview deployments, serverless functions, and zero-config CDN delivery. Deploy from Git repositories or the command line using Wrangler, with built-in support for React, Vue, Next.js, Astro, and other frameworks.
Get your Cloudflare Workers project running locally with Wrangler and Miniflare. This skill covers project initialization, wrangler.jsonc configuration for KV, D1, and R2 bindings, TypeScript setup, and common development errors. Use it to troubleshoot binding issues, HMR problems, and deployment mismatches.
This skill covers development patterns and architectural guidance for Cloudflare's edge platform, including Workers for compute, Pages for frontend hosting, KV for caching, D1 for databases, R2 for object storage, and Durable Objects for stateful coordination. Learn optimization techniques, security practices, and configuration strategies to build performant serverless applications at the edge.
This skill guides you through building GitHub Actions workflows with emphasis on security, proper versioning, and avoiding common pitfalls. It covers workflow structure, permissions, events, and recommended actions while highlighting anti-patterns like hardcoded secrets and injection vulnerabilities.
This skill enables developers to deploy and execute Bun applications directly on Cloudflare Workers, combining the speed of Bun's runtime with Cloudflare's global edge network. It provides production-grade tooling for serverless workloads, including support for modern frameworks and AI service integrations. Ideal for teams building high-performance, distributed applications that need minimal latency and automatic scaling.
Cloudflare Manager automates deployment and configuration of Workers, KV Storage, R2 buckets, Pages, DNS records, and routing through Cloudflare's API. It validates credentials, extracts deployment URLs, and provides clear error messages for troubleshooting common setup issues.
More skills Wrangler Coder (NOASSERTION) · Cloudflare Workers Deployments (unlicensed) · cloudflare-email-routing (MIT) · Ci Integration (CC0-1.0)