lizard redeploy
Trigger a fresh build (latest commit / last upload) with current variables.
Usage
lizard redeploy [nameOrId] [flags]Flags
| Flag | Description |
|---|---|
-s, --service <name> | Service |
--detach | Return after the build is accepted |
--wait | Wait for the build and deployment readiness; works with --json |
--timeout <seconds> | Readiness wait budget after the build; default 120 |
--json | Return JSON for scripts |
Examples
Rebuild and redeploy a service
lizard redeploy --service apiRedeploy without streaming logs
lizard redeploy --service api --detachWait in a script
Requires CLI 0.3.94 or later. Use 0.3.95 or later for workers without HTTP.
lizard --json redeploy --service api --wait --timeout 120Without --wait, JSON mode returns after the build request is accepted. With --wait, the CLI follows that build and then waits for deployment readiness. The JSON result includes buildId, ok, and status. A build failure, failed readiness check, or timeout returns a nonzero exit code.
The timeout applies to readiness after the build finishes; it does not limit build duration or cancel the deployment. Workers with containerPort=0 use the readiness status from the backend without an HTTP check. After a successful command, check an application endpoint or stored data if your workflow needs to verify application behavior.
See also
- lizard restart — rolling restart of the current build, no rebuild
- lizard up — upload the current directory and deploy it
- Deployments — how deploys, restarts, and rebuilds work
Updated