CLICommand referencedeployment

deployment

Commands, arguments, and options for openship deployment.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship deployment

Manage deployments (list, inspect, redeploy, rollback, …)

openship deployment|deployments [options] [command]
SubcommandPurpose
list [options]List deployments (org-wide, or scoped to a project)
get <id>Show a single deployment
info <id>Show container info for a deployment
usage <id>Show container resource usage for a deployment
redeploy [options] <id>Redeploy from an existing deployment
rollback <id>Roll back to a previous deployment
pin [options] <id>Pin (or unpin) a deployment's rollback artifact
cancel <id>Cancel an in-progress deployment
restart <id>Restart a deployment's container
reject <id>Reject a finished deployment awaiting a keep/reject decision
keep <id>Keep a finished deployment awaiting a keep/reject decision
pending <id>Show a deployment's current prompt and pending decisions
respond [options] <id>Answer a pending deployment prompt
rm [options] <id>Delete a deployment
sslSSL certificate operations

openship deployment cancel

Cancel an in-progress deployment

openship deployment cancel [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment get

Show a single deployment

openship deployment get [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment info

Show container info for a deployment

openship deployment info [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment keep

Keep a finished deployment awaiting a keep/reject decision

openship deployment keep [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment list

List deployments (org-wide, or scoped to a project)

openship deployment list [options]
OptionMeaning
--project <id>Scope to a project (defaults to the linked project)
--env <environment>Filter by environment: production | preview
--limit <n>Max rows to fetch (default: "50")

openship deployment pending

Show a deployment's current prompt and pending decisions

openship deployment pending [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment pin

Pin (or unpin) a deployment's rollback artifact

openship deployment pin [options] <id>
ArgumentMeaning
idDeployment ID
OptionMeaning
--offUnpin instead of pin

openship deployment redeploy

Redeploy from an existing deployment

openship deployment redeploy [options] <id>
ArgumentMeaning
idDeployment ID
OptionMeaning
--use-existing-commitRebuild the same commit instead of the latest on the branch

openship deployment reject

Reject a finished deployment awaiting a keep/reject decision

openship deployment reject [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment respond

Answer a pending deployment prompt

openship deployment respond [options] <id>
ArgumentMeaning
idDeployment ID
OptionMeaning
--action <action>An action ID offered by the pending prompt

openship deployment restart

Restart a deployment's container

openship deployment restart [options] <id>
ArgumentMeaning
idDeployment ID

openship deployment rm

Delete a deployment

openship deployment rm [options] <id>
ArgumentMeaning
idDeployment ID
OptionMeaning
-y, --yesSkip the confirmation prompt

openship deployment rollback

Roll back to a previous deployment

openship deployment rollback [options] <id>
ArgumentMeaning
idDeployment ID to roll back to

openship deployment ssl

SSL certificate operations

openship deployment ssl [options] [command]
SubcommandPurpose
status <domain>Check SSL certificate status for a domain
renew [options] <domain>Renew (issue) an SSL certificate for a domain

openship deployment ssl renew

Renew (issue) an SSL certificate for a domain

openship deployment ssl renew [options] <domain>
ArgumentMeaning
domainDomain to renew
OptionMeaning
--wwwAlso renew the www subdomain (separately — its own certificate)

openship deployment ssl status

Check SSL certificate status for a domain

openship deployment ssl status [options] <domain>
ArgumentMeaning
domainDomain to probe

openship deployment usage

Show container resource usage for a deployment

openship deployment usage [options] <id>
ArgumentMeaning
idDeployment ID

On this page