Tool to create a new deployment. Use when you need to deploy files or a Git commit to a Vercel project. Example for file deployment: { "name": "my-app", "files": [ {"file": "index.html", "data": "<html><body>Hello World</body></html>"}, {"file": "style.css", "data": "body { font…
metaobjectUser-defined metadata key/value pairs
nameRequiredstringName for the deployment. Required by API - must be non-null.
slugstringThe Team slug to perform the request on behalf of
filesarrayList of files for non-git deployments. Required if no gitSource is provided (gitMetadata alone is insufficient).
targetstringDeployment target environment
teamIdstringThe Team identifier to perform the request on behalf of
projectstringProject ID or name to deploy to. Note: Providing a project ID alone is not sufficient - you must also provide deployment source (files, gitSource, or deploymentId).
forceNewstringForces a new deployment even if there is a previous similar deployment
gitSourceobjectGit source information for git-based deployments
gitMetadataobjectGit commit metadata for git-based deployments
deploymentIdstringSpecify an existing deployment ID to redeploy the same version
projectSettingsobjectProject-specific build settings (buildCommand, installCommand, devCommand, outputDirectory, rootDirectory, framework). If not provided or all fields are None, skipAutoDetectionConfirmation=1 is automatically enabled for framework auto-detection.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action