# Deploy updates and roll back

> Release a new version of an AirLift app, rebuild without the cache, restart it, go back to an earlier version and turn on maintenance mode.

Source: https://docs.phluit.com/products/airlift/deploy-and-roll-back/

AirLift doesn't deploy by itself when you push. You choose when a new version goes live.

## Deploy a new version

1.  Push your changes to the branch the app uses, or push a new image tag.
2.  Open the app and click **Deploy** (**Build and release the latest commit or image**).
3.  Follow the build in the live log. The new version has to pass its **health check** first. Until then, the version that is live keeps serving.

If the new version fails, the strip at the top says **The latest deployment failed** and the previous version is still live. Read the build log on the **Activity** tab.

## Other actions

Open the **Actions** menu on the app's page:

| Action | What it does |
| --- | --- |
| **Force rebuild and deploy** | A clean build without the cache. Use it when a dependency or the build looks stuck on an old version. |
| **Restart** | Fresh containers with the same version. |
| **Roll back…** | Pick an earlier version on the **Activity** tab and make it live again. Every deployment is kept with its build log. |

## Maintenance mode

Under **Settings → App**, turn on **Maintenance mode** while you work: visitors see a maintenance page and the app keeps running. The strip at the top of the app's page reminds you while it's on.

## Zero-downtime deploys

On plans with two containers (AirLift Pro and AirLift Dedicated), the containers share the traffic and keep the app up during deploys and restarts. See [Plans and prices](/products/airlift/plans-and-prices/).
