monolayer Docs
monolayer Docs
Introduction

Getting Started

Install monolayer in your AWSAdd a GitHub App

User Guide

OverviewCreate a Project
Project Playground Sessions
Branch Tracking RulesDeployment TokensEnvironment VariablesCompute and Capacity SettingsEdge Settings and Custom DomainsProject Admin

Platform

Deployment ArchitectureProcfile

Other

Feedbackmonolayer SDK Docsmonolayer.dev
ProjectsSettings

Branch Tracking Rules

Configure which Git branches can trigger builds and deployments for your project.

Branch Tracking Rules

Configure which Git branches can trigger builds and deployments for your project.

This guide covers branch-specific rules, default policies, and deployment rule changes.

About Deployment Policies

Branch tracking rules control how build pipelines respond when code is pushed to your repository. By default, a pushed branch can trigger a deployment unless project rules restrict it.

monolayer evaluates branch-specific rules before generic production or preview rules. Use branch-specific rules when one branch needs a different deployment policy.

Adding a Branch Rule

To create a rule for a specific branch and enable or disable deployments for one branch, you can use the branch tracking settings.

Before you start

You must know the exact branch name you want to manage.

Steps

  1. Click Projects in the global sidebar.
  2. Click your target project.
  3. Click Settings > Branch Tracking in the project sidebar.
  4. Type the branch name in the branch name field.
  5. Select Enable or Disable from the tracking mode pop-up menu.
  6. Click Add.

What happens next

The control plane adds the branch-specific rule and enforces it for future pushes.

Toggling a Policy

To change an existing policy state and toggle a branch tracking rule between enabled and disabled, you can use the rules list.

Before you start

The rule must already exist in the rules list.

Steps

  1. Locate the policy in the rules list.
  2. Select the status switch for that policy.

What happens next

The control plane saves the new policy state and applies it to future repository events.

Deleting a Branch Rule

To remove a branch-specific rule and return a branch to the default project deployment policy, you can use the branch tracking table.

Before you start

You must confirm that the branch no longer needs a custom rule.

Steps

  1. Locate the branch rule in the table.
  2. Click the trash icon in the actions column.

What happens next

The control plane deletes the rule and uses the default policy for that branch.

Project Playground Sessions

Use project-scoped chat sessions to edit, deploy, and manage work tied to a project.

Deployment Tokens

Generate and revoke project tokens for external deployment automation.

On this page

Branch Tracking RulesAbout Deployment PoliciesAdding a Branch RuleBefore you startStepsWhat happens nextToggling a PolicyBefore you startStepsWhat happens nextDeleting a Branch RuleBefore you startStepsWhat happens next