vercel.createDeployment starts a build from Git or an existing deployment.
automations/create-vercel-deployment.automation.ts
name and either gitSource or deploymentId. Git sources support GitHub repository IDs, GitLab project IDs, and Bitbucket repository UUIDs with a ref and an optional exact commit SHA. deploymentId redeploys a build. withLatestCommit defaults to false. Other inputs are project, target, customEnvironment, metadata, forceNew, and skipAutoDetectionConfirmation. Returns Vercel’s full created-deployment response.