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 list

Approve 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.

Options
OptionDescription
--run <id>one run, in the order it deployed
--jsonmachine-readable output

apex deployment approve

Approve one waiting deployment

apex deployment approve [options] <id>

With an API token, needs the permission deployments:write.

Arguments
ArgumentDescription
<id>deployment id (apex deployment list prints them)
Options
OptionDescription
--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.

Arguments
ArgumentDescription
<id>deployment id (apex deployment list prints them)
Options
OptionDescription
--comment <text>recorded with the decision