Roll back from the dashboard
1
Open Deployments
Open the project and select the Deployments tab.
2
Pick the deployment
Find the last deployment that worked. Open the ⋯ menu on its row and choose Rollback.

3
Watch it go live
The rollback shows as a new deployment. It starts the old build, passes the health check, and traffic switches over with no downtime, like any deployment.
Roll back from the CLI
--yes), it picks the most recent good deployment before the current one. See CLI commands.
What a rollback brings back
- The pre-deploy command doesn’t run again, so a rollback never re-runs migrations. If the newer deployment changed your database schema, check the old code still works with it.
- To undo a change to your variables too, use the variables’ History in the Secrets tab. See History and rollback.
How far back you can go
Pxxl keeps each deployment’s build for a while after it’s replaced:
Once a build has expired, its Rollback is no longer available. To go back further, use Rebuild same commit, which builds that commit again.
Only one rollback can run at a time in a project.
Rollback, rebuild or redeploy?
On GitHub, you can also roll back by reverting the bad commit and pushing. That keeps your Git history and production in step, but it takes a full build.

