doctl apps create-deployment

Go to Navigation

Usage

doctl apps create-deployment <app id> [flags]

Aliases

cd

Description

Create a deployment for an app.

Creating an app deployment will pull the latest changes from your repository and schedule a new deployment for your app.

Flags

Option Description
--force-rebuild Force a re-build even if a previous build is eligible for reuse
Default: false
--format Columns for output in a comma-separated list. Possible values: ID, Cause, Progress, Created, Updated
--help , -h Help for this command
--no-header Return raw data with no headers
Default: false
--wait Boolean that specifies whether to wait for apps deployment to complete before returning control to the terminal
Default: false
Command Description
doctl apps Display commands for working with apps

Global Flags

Option Description
--access-token, -t API V2 access token
--api-url, -u Override default API endpoint
--config, -c Specify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--context Specify a custom authentication context name
--output, -o Desired output format [text|json]
Default: text
--trace Show a log of network activity while performing a command
Default: false
--verbose, -v Enable verbose output
Default: false