Configure which sources can create deployments with Deployment Policies
By Steven Van ·
Teams can now restrict deployments by Git source or mechanism per environment, available to Owners on Enterprise and Pro plans.
Vercel has added Deployment Policies, giving teams control over which sources are allowed to create deployments. A policy can require, for example, that production only accepts deployments from a specific repository while preview stays open to any source.
Each policy has two independent rules, configured per environment:
- Git Sources: restricts which Git providers, organizations, and repositories can deploy.
- Deployment Sources: restricts which mechanisms, such as Git, the Vercel CLI, v0, the REST API, Deploy Hooks, or Marketplace integrations, can deploy.
Policies can be set at the team level, where they apply to every project by default, and individual projects can override either rule. Deployment Policies are available on Enterprise and Pro plans, for accounts with the Owner role.