$ ionic upload
Upload a new snapshot of your app
Synopsis
$ ionic upload
Details
WARNING: Ionic Cloud is deprecated and will reach end-of-life on January 31st, 2018. This command will not be supported afterwards. Ionic Pro takes a different approach to uploading. See the Getting Started documentation for details: https://ionicframework.com/docs/pro/basics/getting-started/
Zips up your local app files and uploads a snapshot to Ionic.
Option | Description |
---|---|
--note |
Give this snapshot a nice description |
--deploy |
Deploys this snapshot to the given channel |
--metadata |
Set custom metadata JSON for the deploy |
--no-build |
Do not invoke an Ionic build |
--prod |
Build the application for production |
--aot |
Perform ahead-of-time compilation for this build |
--minifyjs |
Minify JS for this build |
--minifycss |
Minify CSS for this build |
--optimizejs |
Perform JS optimizations for this build |
Examples
$ ionic upload
$ ionic upload --deploy=dev
$ ionic upload --deploy=production --note="add menu entry" --metadata="{\"custom_data\":true}"