Skip to main content

ionic-cloud live-update bundle-artifact

info

This feature is only available to Enterprise customers with access to Self-hosted Live Updates.

[ionic-cloud, live-update, bundle-artifact]

Bundle a Live Update artifact

ionic-cloud live-update bundle-artifact [flags]

Examples

ionic-cloud live-update bundle-artifact --build-dir=www --signing-key=$IONIC_SIGNING_KEY [--output-path=./build.zip]

Aliases

  • "bundle"

Flags

NameTypeDefaultDescription
--build-dir [required]stringWeb asset path (e.g. 'www')
--output-pathstringThe path to the output of the resulting zip file
--signing-keystringPrivate signing key as a string or the path to a file containing the private signing key

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
bundlePathstringThe file path to the newly bundled Live Update.
Successful Output
{
"bundlePath": "live-update-bundle.zip"
}
Failed Output
{
"bundlePath": ""
}