Connect a Publish Branch

Last modified: June 3rd, 2026

Permissions required

Members of the Owners and Developers Default Permission Groups, or Custom Permission Groups with the site:settings:git:write permission, can connect or remove a Publish Branch for a Site.

Connecting a Publish Branch to a Site sets up a Publishing Workflow, where your team edits content on a branched Site and publishes changes upstream to the Publish Branch.

When you create a branched Site inside a Project, CloudCannon connects it to a Publish Branch automatically. For more information, please read our documentation on what publishing is.

These instructions assume you have at least two branches in your Git Repository, with a Site connected to each.

To connect a Publish Branch to a Site:

  1. From your branched Site, click Site Settings in the Site Navigation.
  2. Click Publishing in the Section Navigation.
  3. Search for the branch you want to connect as your Publish Branch, then click Add Publish Branch.

CloudCannon will connect the branch as your Site's Publish Branch. Your team can now publish changes via the Publishing link in the Site Navigation of the branched Site.

A screenshot of the Publishing page shows the empty state with a search field and button to add a Publish Branch.

You can remove the Publish Branch at any time by clicking Remove Publish Branch on the same page. After connecting your Publish Branch, you can also change your Publishing Method or turn on delete after publishing.

Related Resources

Open in a new tab