Skip to main content

ionic-cloud live-update list-deployments

[ionic-cloud, live-update, list-deployments]

Get list of deployments made to this Live Update channel for the specified app

ionic-cloud live-update list-deployments [flags]

Examples

ionic-cloud live-update list-deployments --app-id=b3456cd --name=Production

Flags

NameTypeDefaultDescription
--app-id [required]stringAppflow app id
--name [required]stringLive Update channel name
--firstnumber5Fetches the first n latest deployments to the channel

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
namestringThe name of a channel that hosts Live Updates.
channelDeploymentsobject[]A list of past deployments to this Live Update channel.
.buildIdnumberA unique identifier for a build done in Appflow.
.buildNumber (optional)numberAn app-specific build number for builds done in Appflow.
.triggeredBystringAppflow user that triggered the build associated with this deployment.
.commitSha (optional)stringThe commit hash.
.commitAuthorstringThe git user that created the commit associated with this build.
.commitCreatedstringString of datetime when the commit was created
.commitBranchstringThe branch on which the commit was created.
{
"name": "Production",
"channelDeployments": [
{
"buildId": 6010455,
"buildNumber": 25,
"triggeredBy": "Michael",
"commitSha": "cef1sdca",
"commitAuthor": "Michael",
"commitCreated": "2023-04-06T18:42:06.503109+00:00",
"commitBranch": "main"
}
]
}