vip app deploy
Deploy an archived file of application code to an environment that has Custom Deployment enabled.
Usage
vip app deploy [options] [command]
Options
Option | Description |
---|---|
-a , --app |
Target an application. Accepts a string value for the application name or an integer for the application ID. |
-d , --debug |
Generate verbose output during command execution to help identify or fix errors or bugs. |
-e , --env |
Target an environment. Accepts a string value for the environment type. |
-f , --force |
Skip confirmation prompt (deprecated) |
-h , --help |
Retrieve a description, examples, and available options for a (sub)command. |
-m , --message |
Add a description of a deployment. |
-s , --skip-confirmation |
Skip the confirmation prompt. |
-v , --version |
Retrieve the version number of VIP-CLI currently installed on the local machine. |
Examples
- Deploy a local archived file named "file.zip" that contains application code to a VIP Platform environment that has Custom Deployment enabled.
$ WPVIP_DEPLOY_TOKEN=1234 vip @example-app.develop app deploy file.zip
- Add a descriptive message for the Custom Deployment of the archived file named "file.tgz".
$ WPVIP_DEPLOY_TOKEN=1234 vip @example-app.develop app deploy file.tgz --message="A description for this deploy"
- Skip the confirmation prompt for the Custom Deployment of the archived file named "file.tar.gz" to the environment.
$ WPVIP_DEPLOY_TOKEN=1234 vip @example-app.develop app deploy file.tar.gz --skip-confirmation
Subcommands
Name | Description |
---|---|
validate |
Validate the directory structure of an archived file. |
Last updated: November 18, 2024