Skip to content

VercelCreateDeploymentInput

Defined in: deployments/deployments.ts:72

Input for deployments.create(): deploy source files without a Git repository.

files: VercelDeployFile[]

Defined in: deployments/deployments.ts:76

The files that make up the deployment.


optional framework?: 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.


optional installCommand?: 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.


optional meta?: 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: string

Defined in: deployments/deployments.ts:74

The Vercel project to deploy to.


optional target?: VercelDeploymentTarget

Defined in: deployments/deployments.ts:91

The environment to deploy to; omitted, Vercel decides.