CI/CD

Last updated Oct 1, 2026 You can set up continuous integration and continuous deployment (CI/CD) for your Workers by using either the integrated build system, Workers Builds, or using external providers to optimize your development workflow.

Why use CI/CD?

Using a CI/CD pipeline to deploy your Workers is a best practice because it:

  • Automates the build and deployment process, removing the need for manual wrangler deploy commands.
  • Ensures consistent builds and deployments across your team by using the same source control management (SCM) system.
  • Reduces variability and errors by deploying in a uniform environment.
  • Simplifies managing access to production credentials.

Which CI/CD should I use?

Choose Workers Builds if you want a fully integrated solution within Cloudflare's ecosystem for Artifacts, GitHub, or GitLab repositories.

We recommend using external CI/CD providers if:

  • You have a self-hosted instance of GitHub or GitLab, which is currently not supported in Workers Builds' Git integration
  • You are using a Git provider other than Artifacts, GitHub, or GitLab

Workers Builds

Workers Builds is Cloudflare's native CI/CD system that allows you to integrate with Artifacts, GitHub, or GitLab to automatically deploy changes with each new push to a selected branch (e.g. main).

Workers Builds Workflow Diagram

Ready to streamline your Workers deployments? Get started with Workers Builds.

External CI/CD

You can also choose to set up your CI/CD pipeline with an external provider.

Was this helpful?

YesNo

On this page

CI/CD - 图2Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers/ci-cd/#page","headline":"CI/CD","description":"Set up continuous integration and continuous deployment for your Workers.","url":"https://developers.cloudflare.com/workers/ci-cd/","inLanguage":"en","image":"https://developers.cloudflare.com/workers/ci-cd/og.png?v=66d3d2c68cdaeca5","dateModified":"2026-10-01","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Use Workers Builds to integrate with Git and automatically build and deploy your Worker when pushing a change title: Builds image: https://developers.cloudflare.com/workers/ci-cd/builds/og.png?v=e9f386e1edcba7e0


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/workers/llms.txt
Use this file to discover all available pages before exploring further.