ionic-cloud deploy web
[ionic-cloud, deploy, web]
This command deploys a web build to a live-update channel
ionic-cloud deploy web [flags]
Examples
ionic-cloud deploy web --app-id=b3456cd --build-id=4c511f1 --destination="Production"
Aliases
- "live-update"
Flags
Name | Type | Default | Description |
---|---|---|---|
--app-id [required] | string | Appflow app id | |
--build-id [required] | number | Appflow build id | |
--destination [required] | string[] | [] | Live update channel |
--detached | boolean | false | Asynchronously run appflow deployment |
Global Flags
Name | Type | Default | Description |
---|---|---|---|
-h, --help | boolean | false | Print help information for command |
--config | string | Ionic Cloud config file (.ionic-cloud.yaml by default) | |
--json | boolean | false | For commands with output, shortcut to print as JSON |
--output | string | "text" | For commands with output, print as [json] or human readable [text] |
--token | string | Ionic authorization token |
Outputs
Name | Type | Description |
---|---|---|
appId | string | Your app's unique identifier in Appflow. |
buildId (optional) | number | A unique identifier for a build done in Appflow. |
buildNumber (optional) | number | An app-specific build number for builds done in Appflow. |
buildStatus | "CREATED" | "PENDING" | "RUNNING" | "BUILDING" | "FAILED" | "SUCCESS" | "CANCELED" | The current state of your build in Appflow. |
platform | "ANDROID" | "IOS" | "WEB" | The ecosystem you are building for. |
deployedAt | string | The timestamp for when a Live Update was successfully deployed. |
channels | string[] | A list of the channels that a Live Update was deployed to. |
Successful Output
{
"appId": "052b32ac",
"buildId": 6010455,
"buildNumber": 25,
"buildStatus": "SUCCESS",
"platform": "WEB",
"deployedAt": "2023-04-06T18:42:06.503109+00:00",
"channels": [
"Production"
]
}