When i run the below command i am getting “Unable to find command: deploy add” error in terminal.
Command : ionic deploy add --app-id=“51c98ce5” --channel-name=“Production” --update-method=“background”
Anyone can help me setup my app to deploy using IONIC Appflow? I have already connected my GitHub repository to app flow
Calll
August 1, 2019, 4:48pm
2
Did you copy and paste that straight from appflow? If so - I had to paste it into a notepad first, delete some spaces and copy and paste it from there into the command line before it worked.
first run npm install and try to use use commands again
A little bit of trial and error and using https://ionicframework.com/docs/appflow/deploy/api#plugin-variables , I got to the setup below and it worked.
ionic cordova plugin add cordova-plugin-ionic
–variable APP_ID=12345
–variable CHANNEL_NAME=Master
–variable UPDATE_METHOD=background