Roll back a deploy

Put an earlier successful deploy back live without rebuilding it.

Roll back

  1. Open the service, press ⌘K and choose Redeploy a previous deploy.

    The list holds the service's successful deploys, newest first, with the live one marked.

    With the CLI, list the deploys and note the id of the one you want:

    Terminal
    ghaym cloud deployments list --service web
  2. Choose a deploy, then Redeploy.

    Ghaym puts that deploy's image live again with the variables it ran with, and skips the build.

    With the CLI:

    Terminal
    ghaym cloud deployments rollback <deployment-id>

Go forward again

Roll back to the newer deploy the same way, or push to the branch the service tracks: each push builds and deploys it again.