Synopsis
cluck deploy [--env E] [--wait]
Description
Deploys the current project to HenHouse. Builds, uploads, runs health checks, and shifts traffic in waves.
Options
| Flag | Description |
|---|---|
--env E | Target environment (default: staging) |
--wait | Block until the rollout completes |
--canary N | Send N% of traffic to the new version first |
All commands also accept the global flags --coop, --json, --quiet, and --no-color, plus --help, which prints this page in a smaller font.
Example
$ cluck deploy --env production --canary 10
✔ Built image in 38s
✔ Canary at 10% (healthy)
✔ Promoted to 100%
Exit codes
| 0 | Success. A quiet cluck. |
|---|---|
| 1 | The command ran but reported a problem, such as a failing check. |
| 2 | Bad usage: a flag was missing or invalid. |
| 3 | Authentication or permission error. See HEN-2001. |