Skip to content
Docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

How Conic works

How workspaces, projects, builds and deployments fit together, from a push to a live Worker.

Conic connects four parts. A workspace deploys to one Cloudflare account. A project connects one app of a repository to the workspace. Each push starts a build. Each build makes a deployment on a Worker in your Cloudflare account.

Your Git provider

Repository

GitHub or GitLab

Push

A commit on a branch

Conic

Project

One app folder, like apps/web

Build

In a sandbox on your Daytona account

Your Cloudflare account

Production Worker

Production branch, your domains

Preview Worker

Other branches, one URL each

Workspace

A workspace holds your projects. It deploys to one Cloudflare account and builds on one Daytona account. It has a plan and members.

Workspaces

The Cloudflare account, the Daytona account, the plan and the members.

Project

A project is one app from one repository. It has a root directory, a production branch, build settings, environment variables and bindings. Each project has a production Worker and a preview Worker in your Cloudflare account.

Projects

What a project holds and how it maps to Workers.

Build

A build changes one commit into a Worker version. It runs in a new sandbox on your Daytona account, in four steps: clone, install, build and deploy.

Builds

The sandbox, the steps, the Node.js version and the Wrangler config.

Deployment

A deployment is the result of one build. A push to the production branch makes a production deployment. A push to a different branch makes a preview deployment with its own URL.

Deployments

Production and previews, the deployment status and the preview URL.

From a push to a live app

You push a commit

GitHub or GitLab sends the push to Conic.

Conic checks the commit

In a monorepo, Conic builds only the projects that the commit changes. On a private repository of a GitHub organization, a commit from a person outside your workspace waits for approval.

The build runs

The build runs in a new sandbox on your Daytona account. Conic deletes the sandbox when the build ends.

Conic deploys to Cloudflare

Conic deploys the build output to your Cloudflare account. It sets your environment variables as Cloudflare secrets and connects your bindings.

The deployment is ready

A production deployment goes live on your domains. A preview deployment gets a URL, and Conic posts this URL on the pull request.

Was this page helpful?