Skip to content

VercelTriggerDeploymentInput

Defined in: deployments/deployments.ts:52

Input for deployments.trigger(): deploy a branch of a linked GitHub repository.

branch: string

Defined in: deployments/deployments.ts:56

The Git branch (ref) to deploy.


projectName: string

Defined in: deployments/deployments.ts:54

The Vercel project to deploy.


repoId: number

Defined in: deployments/deployments.ts:58

The numeric GitHub repository id.


optional target?: VercelDeploymentTarget

Defined in: deployments/deployments.ts:60

The environment to deploy to; omitted, Vercel decides.