Skip to main content

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

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--build-id [required]numberAppflow build id
--destination [required]string[][]Live update channel
--detachedbooleanfalseAsynchronously run appflow deployment

Global Flags

NameTypeDefaultDescription
-h, --helpbooleanfalsePrint help information for command
--configstringIonic Cloud config file (.ionic-cloud.yaml by default)
--jsonbooleanfalseFor commands with output, shortcut to print as JSON
--outputstring"text"For commands with output, print as [json] or human readable [text]
--tokenstringIonic authorization token

Outputs

NameTypeDescription
appIdstringYour app's unique identifier in Appflow.
buildId (optional)numberA unique identifier for a build done in Appflow.
buildNumber (optional)numberAn 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.
deployedAtstringThe timestamp for when a Live Update was successfully deployed.
channelsstring[]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"
]
}
Detached Output
{
"appId": "052b32ac",
"buildId": 6010455,
"buildNumber": 25,
"buildStatus": "CREATED",
"platform": "WEB",
"deployedAt": "2023-04-06T18:42:06.503109+00:00",
"channels": [
"Production"
]
}