Skip to main content

Usage

Redeploys a previous version of the server. Up to 10 deployments are retained (3 on the Free tier).

Flags

Examples

List available deployments:
Output:
Roll back to a specific version:
Output:

How rollback works

  1. ezForge creates a new deployment record pointing at the historical image URI
  2. Runs the full deploy pipeline: provision → health check → traffic swap
  3. If the rollback itself fails, the current deployment remains live (it is not automatically reverted again)

Auto-rollback

ezForge automatically rolls back to the last healthy deployment when:
  • The health check at GET {healthCheckPath} fails after a deploy
  • The health check timeout is exceeded
Auto-rollback can be disabled per-server (rollbackOnHealthCheckFailure: false) or per-deploy (ezforge deploy --no-rollback).