Skip to content

Update an Existing Site ​

This page covers manual updates. For scheduled syncing, see Automatic Updates. Updates reuse your Repository Secrets and Cloudflare resources.

1. Sync the Code ​

  1. Open the deployment fork's Code page and select the default branch.
  2. Push custom commits to a backup branch if you have modified the source.
  3. Click Sync fork → Update branch.
  4. Wait until GitHub reports that the branch is up to date.

GitHub Sync fork panel

The screenshot's warning about discarding five commits means those commits will be removed from the current branch. To keep custom changes or resolve conflicts, merge upstream with Git instead.

2. Confirm Deployment ​

  1. Open Actions → 00 Deploy Worker.
  2. Confirm that the run matches the synced commit and wait for success.
  3. If no run starts, click Run workflow to start one manually.

Leave apply_encryption_keyring and rotate_encryption_key unchecked for normal updates. The workflow migrates and verifies D1 before deploying the Worker and keeps existing encryption keys.

3. Check the Site ​

  • Sign in and test message delivery.
  • Click Check for updates in the Site appearance update section.
  • Run a self-check under Installation & Maintenance.

Message retention is configured separately under Site Configuration.

No Sync Fork Button ​

The button appears only in GitHub forks. For a regular clone, fetch and merge upstream using Git. For a new deployment, fork the repository using Getting Started.

Built on Cloudflare · Designed for self-hosting