Guides
Deploy, promote & roll back
How builds run, environments and auto-deploy, promoting a tested build, and instant rollback.
How a deploy works
- The platform clones your repo at the exact commit, builds it in isolation, and stores an immutable release.
- Static/React releases are published to a CDN-style origin; Node releases start a candidate container that must pass health checks before traffic switches.
Projects
- A project groups the apps, databases and jobs that belong to one piece of work, so everything related sits on one page.
- Grouping is optional and changes nothing about how anything runs. An app, database or job with no project works exactly as before — projects are organisation, not deployment.
- Anything can be moved in or out at any time, including things created long before you made the project: open the project and choose “Add existing”, or set the project on the app, database or job itself.
- Deleting a project never deletes what is inside it. Its apps, databases and jobs are released and keep running; only the grouping goes.
- API: GET /tenants/<tenantId>/projects lists them, and POST /tenants/<tenantId>/projects/members moves resources — send {"projectId": "<id>", "apps": [...], "databases": [...], "jobs": [...]}, or a null projectId to take them out.
Environments
- Each app has environments (e.g. production, staging) mapping a branch to a deploy target.
- Enable auto-deploy to deploy on every push to the mapped branch. A deploy starts as soon as it is asked for; there is no approval step in between.
- Customize an environment’s subdomain label under Environments → Edit. The default address is <label>.<apps domain> for production and <label>-<environment>.<apps domain> for any other environment; if that name is already taken on the platform, a short suffix is added (my-app-9f3a).
- Never assume an app’s address from its name — read it from the app’s Domains tab or the API (GET /tenants/<tenantId>/domains?appId=<appId>). An entry with "retiresAt" set is an OLD address that has been replaced: it remains in service until that date, when it is retired. Anything configured with it (OAuth redirect URIs, webhooks, CORS allow-lists, another app’s API base URL) must be moved to the entry without "retiresAt" — see the guide “When an app’s address changes”.
- While an old address is being kept, a person who opens it in a browser sees a short "this address has moved" notice and is taken to the new one after 5 seconds (or can choose to stay for a day). Programs are not affected: API calls, fetch/XHR, webhooks, POSTs and asset requests on the old address still reach the app directly. Sessions do not carry over — cookies belong to a hostname, so users sign in once more on the new address.
Promote
- Promote runs, in one environment, the build another environment of the same app is running now — without rebuilding. It is how the exact build you tested in staging reaches production, instead of a new build made from the same commit.
- On the environment you want to update, choose Promote, pick the environment to take the build from, and confirm. The same files start in a new container with the target environment’s own variables; traffic switches once it passes its health check, and if it does not come up, what was running keeps running.
- Deciding when to promote is yours: there is no approval step.
Variables the browser bundle reads — names starting NEXT_PUBLIC_, VITE_, REACT_APP_ and similar — are written into the files when the app is built. A promoted build keeps the values the source environment had for those. If they must differ between environments, deploy the environment instead of promoting.
- API: POST /tenants/<t>/apps/<app>/environments/<target>/promote { "releaseId": "<the source environment’s active release>" } — see the API reference.
Rollback
- Open an environment and select a previous release to roll back to. Rollback re-activates an existing release instantly — it never rebuilds the commit.
Explain a failed deploy with AI
- When a platform admin has turned it on, a failed deployment’s page shows Explain with AI. It reads the error and the end of the build log and answers with the likely cause, numbered fix steps and the files to check.
- Each deployment is explained once — opening it again shows the same answer — and every workspace has a daily limit.
Only the failed deployment’s settings and the last 250 build-log lines are sent, with tokens, passwords and keys masked first. AI can be wrong: check a suggested fix before changing code.

