---
title: "Restrict a Cloud Build gate to a release substitution | Proofline Help"
description: "When a deployment trigger serves several environments, require substitutions that uniquely identify builds for this gate."
url: https://proofline.sh/help/cloud-build-gate-substitutions/
---

[Help center](/help/)

# Restrict a Cloud Build gate to a release substitution

When a deployment trigger serves several environments, require substitutions that uniquely identify builds for this gate.

## Match exact trigger substitutions

In the environment’s **Setup → Delivery**, choose **Add Cloud Build gate**, select the repository target and identify the deployment trigger. Under **Required substitutions**, enter a unique name beginning with an underscore and its exact nonempty value. Select **Add substitution** to require another pair.

Remove the substitution row if the trigger has no release-environment substitution. Review the saved gate’s values against the actual trigger. A build with different values cannot use that gate.

## Related guides

-   [Configure deployment protection](/help/deployment-protection/)
