Skip to main content
Create a release from project source, then deploy that release to an environment. You need a configured project, an environment, and an API credential authorized to deploy. Replace support-assistant with your project reference and keep the environment’s UUID available.

1. Create a release

Create a release with POST /projects/{project_reference}/releases:
create-release.sh
When branch_reference is omitted, the release uses the main branch. Set that field to a branch ID or name to release another branch.

2. Inspect the release

Set RELEASE_ID to the created release’s ID and read GET /projects/{project_reference}/releases/{release_id}:
read-release.sh
Review the recorded build state and assets before deploying. The release reference describes build and asset-manifest operations.

3. Deploy the release

Deploy the release with POST /projects/{project_reference}/deployments. Replace both UUID placeholders with values returned for your project.
create-deployment.sh

Verify the result

Set DEPLOYMENT_ID to the returned deployment ID, then read GET /projects/{project_reference}/deployments/{deployment_id}:
read-deployment.sh
Confirm the release and environment IDs match the requested deployment. Then check the application’s configured endpoint. Inspect logs and traces if it fails to serve requests. Creating a release does not deploy it. To serve another release, create a new deployment; the existing deployment’s release and environment are fixed.

API references