Skip to content

DeploymentCreate

View as Markdown

Deploy a service. An empty body deploys the latest commit of the environment’s branch.

Field Type Description
source object
redeploy_of string Rebuild-free redeploy of an existing deployment’s image with current settings and secrets.
message string
clear_build_cache boolean Default false.

* always present

{
"source": {
"kind": "git",
"ref": "main",
"image": "string",
"upload_id": "string"
},
"redeploy_of": "string",
"message": "string",
"clear_build_cache": false
}