View Source Vercel.Deployments (Vercel v0.1.5)
Link to this section Summary
Functions
Create a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. You can pass other params as referenced in https://vercel.com/docs/rest-api#endpoints/deployments/create-a-new-deployment
Link to this section Functions
@spec create(params, opts) :: {:ok, map()} | {:error, any()} when params: %{ :name => String.t(), :target => String.t(), optional(:gitSource) => %{ org: String.t(), repo: String.t(), type: String.t(), ref: String.t() } }, opts: %{ optional(:teamId) => String.t(), optional(:skipAutoDetectionConfirmation) => String.t(), optional(:forceNew) => String.t() }
Create a new deployment with all the required and intended data. If the deployment is not a git deployment, all files must be provided with the request, either referenced or inlined. You can pass other params as referenced in https://vercel.com/docs/rest-api#endpoints/deployments/create-a-new-deployment