Configure Deploy Previews

Last modified: June 23rd, 2026

Deploy Previews are available on our Team or Enterprise plan.

Want to chat about whether this feature is right for you? Our support team is always happy to hear from you.

Permissions required

Members of the Owners and Developers Default Permission Groups, or Custom Permission Groups with the project:settings:deploy-previews:write permission, can configure Deploy Previews for a Project.

Deploy Previews are a set of automations that CloudCannon can run whenever a Pull Request is opened, closed, merged, or updated in your Git Repository. Specifically, CloudCannon can automatically create Sites for each Pull Request and post Automatic Comments on Pull Requests in your Git Provider summarizing Site details in CloudCannon. When a Pull Request is closed or merged, any Site on its head branch with Delete this site after publishing enabled is also cleaned up.

Before we begin, this article assumes you have already created a Project and that your Organization is on a plan that includes Deploy Previews.

To configure the Deploy Preview settings for a Project:

  1. Click the Projects link in the App Sidebar. CloudCannon will open the Projects Browser.
  2. Select the Project you want to configure. CloudCannon will open the Project Sites Browser.
  3. Click the Project Settings tab.
  4. Select Deploy Previews from the Section Navigation.
  5. Use the checkboxes under the Automatic Sites and Automatic Comments headings to control which automations are enabled. Nested checkboxes (such as Skip for draft Pull Requests) only become available once their parent checkbox is enabled.
  6. (Optional.) Add Markdown to the Comment footer text field.
  7. Click the Update Deploy Preview Settings button at the bottom of the page.

CloudCannon will update your Deploy Preview settings.

A screenshot of the Deploy Previews section in Project Settings, with the Automatic Sites and Automatic Comments fieldsets in their default state.

The Automatically create a Site for new Pull Requests automation does not apply to Pull Requests opened by contributors outside your Git Provider organization. CloudCannon highlights these Pull Requests in a dedicated section in the Pull Requests tab, where a Team Member can manually connect a Site if they trust the changes. For more information, please read our documentation on Pull Requests from outside contributors.

Deleting a Site is a destructive action. When CloudCannon deletes a Site — whether after a publish or after a Pull Request closes — it removes the Site's build history, stable domain, and any custom authentication.

The default value of Delete this site after publishing on new automatically created Sites comes from the Delete branched site after publishing option in your Branch Defaults. To keep a specific Site in your Project after its Pull Request merges, turn off Delete this site after publishing on that Site.

Turning these automations on or off does not retroactively process historical Pull Requests, with one exception: disabling Automatic Comments or changing the Comment footer runs a single reconciliation across every open Pull Request. For more information, please read our documentation on enabling and disabling Deploy Preview automations.

If you do not see the Deploy Previews section under Project Settings, your Organization may not have Deploy Previews enabled on its plan, or you may not have the project:settings:deploy-previews:read permission. Contact our support team or an Owner in your Organization to check.

Related Resources

Open in a new tab