Reference
apex deployment
Deployments: what is waiting for an approval, and giving one
apex deployment [command]Examples
Deployments waiting for an approval, across the repositories you reach.
apex deployment listApprove one, with a comment recorded beside the decision.
apex deployment approve 91 --comment "staging looks good"Subcommands
apex deployment list
Deployments waiting for approval, or every deployment of one run
apex deployment list [options]With an API token, needs the permission deployments:read.
| Option | Description |
|---|---|
--run <id> | one run, in the order it deployed |
--json | machine-readable output |
apex deployment approve
Approve one waiting deployment
apex deployment approve [options] <id>With an API token, needs the permission deployments:write.
| Argument | Description |
|---|---|
<id> | deployment id (apex deployment list prints them) |
| Option | Description |
|---|---|
--comment <text> | recorded with the decision |
apex deployment reject
Reject one waiting deployment
apex deployment reject [options] <id>With an API token, needs the permission deployments:write.
| Argument | Description |
|---|---|
<id> | deployment id (apex deployment list prints them) |
| Option | Description |
|---|---|
--comment <text> | recorded with the decision |