Applications Deployments

Create deployment

Creates a deployment for an existing project by fetching repository files from GitHub and uploading them to the hosting provider. Use ref to deploy a branch, tag, or commit other than the project default branch.

post/applications/v1/deployments

Request body

projectIdstring required

Project ID to deploy

target'production' | 'preview'

Deployment target environment

refstring

Git branch, tag, or commit to deploy. Defaults to the project branch.

Response

Deployment started successfully

Changes