Create or link a site

Create a site when Fleet should build and deploy it. Link one when it already runs and Fleet should only watch it.

Two ways to add a site

Add a site from the Sites tab. Both ways count against your plan's site limit.

Question

Create a new site

Link an existing site

What it is for

A new EmDash site that Fleet builds and deploys.

A site that already runs on Cloudflare.

What Fleet does in your accounts

Creates the repository, database, bucket, key-value store and Worker, and deploys when you start a deploy.

Nothing. Linking is read-only: Fleet never creates, changes or deploys anything.

Cloudflare account

Required.

Required.

GitHub account

Required.

Optional.

Deploys and rollback

You deploy when you choose to, and can roll back to one of the last 10 versions.

None. A linked site has no version history and no rollback.

Health and resources

Yes.

Yes.

Updates

Yes.

Only after you add GitHub.

Steps

Seven. See Create, deploy and monitor your first site.

See Link an existing site.

When to create

Create a site when you start from nothing, or when you have an EmDash repository and want Fleet to provision the Cloudflare resources and deploy it. The repository can start from an official EmDash template, from your own template repository, or be an existing EmDash repository.

When to link

Link a site that already runs, for example one that you or a colleague deployed by hand. Choose its Worker from the Cloudflare account. Fleet checks for a D1 database bound as DB, and warns if the media bucket, session store or Cron Trigger that EmDash expects is missing. A linked site shows its running version from its latest health check.

Without GitHub a linked site runs in limited mode: health, activity and resource information work, and updates are unavailable. Add GitHub while you link, or later with Add GitHub on the site page.

Unlinking removes the site from Fleet only. The Worker, database and repository stay where they are. See Unlink or delete a site.

When an End User owns an account

In both flows you choose the Cloudflare and GitHub source separately: A connection of this workspace, A new connection with OAuth, or Ask the account's owner, a one-time link for an End User. A site that waits for an End User shows Awaiting permissions, and Fleet creates nothing until every grant has arrived. A linked site then shows Finish linking. See End User grants.

Related

Report a problem with this page