CLI reference
ccp promote
Promote the given preview Deployment to production
Usage: ccp promote [OPTIONS] <DEPLOYMENT_ID> [DIRECTORY]| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| deployment_id | text | — | — | ID of the Deployment to promote |
| directory | path | — | — | Path to a directory containing an App |
| --help, -h | flag | — | — | 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.
| Argument | Type or values | Default | Parser environment variable | Description |
|---|---|---|---|---|
| --context | text | — | — | Select a developer context from ~/.ccp/config.toml |