# Deployment recipes

> Common deploy, promote, and rollback flows for agents and humans.

## Promote staging to production

```bash
yalla deploy --env production --from staging
```

## Roll back a bad deploy

List recent deployments, then roll back to a known-good one. Rollbacks are reversible and audited.

```bash
yalla deployments list --env production
```

```bash
yalla rollback --to <deployment-id>
```

> [!CAUTION]
> Destroying an environment is irreversible. The CLI requires an explicit confirmation flag before it proceeds.
