Platform
CLI reference

ccp deploy

View as Markdown

Deploy a new or existing App

Usage: ccp deploy [OPTIONS] [PATH]
ArgumentType or valuesDefaultParser environment variableDescription
--jsonflagfalse—Emit structured JSON on stdout
pathpath——Path to a file or a directory containing an App
--client, -cpath——Path to a client-side script
--public-dir, -ppath——Path to a public directory to serve assets from
--no-minifyflagfalse—Keep JavaScript and CSS bundles readable for debugging
--prod, --productionflagfalse—Deploy as a production deployment
--org-idtext——Organization ID (skips org selection prompt)
--app, --app-idtext——App ID (skips app selection / creation prompt)
--yes, -yflagfalse—Skip prompts: auto-create + link an App named after the project (single-org auto-picks; pass --org-id for multi-org)
--register-redirect-uriflagfalse—Register this preview deploy's host as an OIDC redirect URI (prod deploys do this automatically). Per-deploy opt-in; adds one URI with no auto-prune — clean up with ccp oidc update --remove-redirect-uri
--help, -hflag——Print help

Example

ccp deploy --prod

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