This step vendors the Ionic CLI, and allows the user to execute the
package build command. Options are passed along to the ionic
executable as is.
- Requires the Ionic CLI installed. Install it either as part of the pipeline, or make use of a Docker image that has it pre-installed, such as devillex/docker-ionic.
- Requires Ionic CLI to be logged into Ionic.io. Either log in manually using a script step, or use a pre-built step to log in, such as devillex/ionic-login.
platform
- Platform to target, i.e.android
orios
.release
- (Optional) Indicate whether this is a release build. Possible values aretrue
orfalse
. Defaults tofalse
.profile
- (Optional) Security profile to use for the build, as defined in Ionic.io console.debug
- (Optional) Prints out the command that is executed to the console. Warning this prints everything in the clear. Possible values aretrue
orfalse
. Defaults tofalse
.
deploy:
steps:
- ionic-package-build:
platform: android
release: $IONIC_RELEASE
profile: $IONIC_PROFILE
The MIT License (MIT)
- Remove incorrect passing of
--platform
argument inrun.sh
- Fix typo in
run.sh
- Initial release