Platform
CLI reference

ccp promote

View as Markdown

Promote the given preview Deployment to production

Usage: ccp promote [OPTIONS] <DEPLOYMENT_ID> [DIRECTORY]
ArgumentType or valuesDefaultParser environment variableDescription
deployment_idtext——ID of the Deployment to promote
directorypath——Path to a directory containing an App
--help, -hflag——Print help

Example

ccp promote "$DEPLOYMENT_ID"

Global options

Set CCP_CONTEXT to choose a named context. An explicit --context takes precedence. See organization selection for organization defaults.

ArgumentType or valuesDefaultParser environment variableDescription
--contexttext——Select a developer context from ~/.ccp/config.toml

On this page