Skip to main content

Deploy Application

Trigger a new deployment of an application from the configured source.

Endpoint

Request Body

string
required
ID of the application to deploy
string
Title for the deployment log (default: “Manual deployment”)
string
Description for the deployment log

Response

Returns success status. The deployment runs asynchronously in the background.

Example Request

Example Response

Redeploy Application

Redeploy an application, optionally clearing the build cache.

Endpoint

Request Body

string
required
ID of the application to redeploy
string
Title for the deployment log (default: “Rebuild deployment”)
string
Description for the deployment log

Response

Returns success status. The redeployment runs asynchronously.

Example Request

Example Response

Cancel Deployment

Cancel an ongoing deployment (cloud version only).

Endpoint

Request Body

string
required
ID of the application with ongoing deployment

Response

boolean
Whether the cancellation request was successful
string
Status message

Example Request

Example Response

Configure Git Providers

Save GitHub Provider

Configure GitHub as the application source.

Endpoint

Request Body

string
required
ID of the application
string
required
GitHub repository owner or organization
string
required
GitHub integration ID
boolean
required
Whether to clone Git submodules
string
Repository name
string
Branch to deploy from
string
Path within repository to build from (default: ”/”)
array
Array of paths to watch for changes (for monorepo support)
string
default:"push"
Deployment trigger: push or tag

Example Request

Save GitLab Provider

Configure GitLab as the application source.

Endpoint

Request Body

string
required
ID of the application
string
required
GitLab branch to deploy from
string
required
Build path within repository
string
required
GitLab owner/group
string
required
Repository name
string
required
GitLab integration ID
number
required
GitLab project ID
string
required
GitLab path namespace
boolean
required
Whether to clone Git submodules
array
Array of paths to watch for changes

Example Request

Save Docker Provider

Configure Docker registry as the application source.

Endpoint

Request Body

string
required
ID of the application
string
Docker image name (e.g., “nginx:latest”)
string
Registry username (for private registries)
string
Registry password (for private registries)
string
Custom registry URL (default: Docker Hub)

Example Request

Save Custom Git Provider

Configure a custom Git repository via SSH or HTTPS.

Endpoint

Request Body

string
required
ID of the application
boolean
required
Whether to clone Git submodules
string
Git repository URL
string
Branch to deploy from
string
Build path within repository
string
SSH key ID for authentication
array
Array of paths to watch for changes

Example Request

Disconnect Git Provider

Disconnect the configured Git provider from an application.

Endpoint

Request Body

string
required
ID of the application

Example Request

Configure Build Settings

Save Build Type

Configure the build system and related settings for an application.

Endpoint

Request Body

string
required
ID of the application
string
required
Build system: dockerfile, nixpacks, heroku_buildpacks, paketo_buildpacks, railpack, or static
string
required
Docker build context path
string
required
Docker build stage (for multi-stage builds)
string
Path to Dockerfile (for dockerfile build type)
string
Directory to publish (for static sites)
boolean
Whether the static site is a Single Page Application
string
Heroku buildpack version
string
Railpack version

Example Request

Save Environment Variables

Configure environment variables, build arguments, and build secrets.

Endpoint

Request Body

string
required
ID of the application
boolean
required
Whether to create an .env file from environment variables
string
Environment variables (newline-separated KEY=VALUE pairs)
string
Build-time arguments (newline-separated KEY=VALUE pairs)
string
Build-time secrets (newline-separated KEY=VALUE pairs)

Example Request

Clear Deployments

Remove old deployment records and artifacts to free up disk space.

Endpoint

Request Body

string
required
ID of the application

Example Request

Example Response