VercelCreateDeploymentInput
Defined in: deployments/deployments.ts:72
Input for deployments.create(): deploy source files without a Git repository.
Properties
Section titled “Properties”files:
VercelDeployFile[]
Defined in: deployments/deployments.ts:76
The files that make up the deployment.
framework?
Section titled “framework?”
optionalframework?:string|null
Defined in: deployments/deployments.ts:83
projectSettings.framework. null (the default) deploys with no
framework preset — the right choice for a bare serverless function,
not an app. Vercel requires this on a project’s first deployment;
later deployments inherit it unless overridden here again.
installCommand?
Section titled “installCommand?”
optionalinstallCommand?:string
Defined in: deployments/deployments.ts:89
projectSettings.installCommand. Sent explicitly because a deployment made from uploaded
files takes its install command from the project’s settings, not from an uploaded
vercel.json; omitted, the project’s own setting applies.
optionalmeta?:Record<string,string>
Defined in: deployments/deployments.ts:93
Key-value metadata stored on the deployment: a creator’s own tags, read back through deployments.list().
projectName
Section titled “projectName”projectName:
string
Defined in: deployments/deployments.ts:74
The Vercel project to deploy to.
target?
Section titled “target?”
optionaltarget?:VercelDeploymentTarget
Defined in: deployments/deployments.ts:91
The environment to deploy to; omitted, Vercel decides.