Added deploy to appetize.io stage
fixes #167 (closed)
This MR adds the deploy to appetize.io stage. One of the maintainers will have to carry a one time setup for setting up the link. Further updates will be automated by the CI/CD pipeline. Please carry out the following steps:-
- Get an API token from here: https://appetize.io/docs#request-api-token
- Create a CI/CD variable for api token named "APPETIZE_API".
- Run the following command once to set up the app once and further updates will be made by the pipeline automatically: curl -X POST -H "Content-Type: application/json" -d @req.json https://APITOKEN@api.appetize.io/v1/apps
where req.json is a file having the following json object:
{ "url": publicly available link to the apk, "platform": "android" }
enter the url for the apk in the url field.
This will return a response. Note down the public key and app url from the response and add it to another CI varible named: "APPETIZE_KEY"
After this, the app will be updated every time to the link provided to you in the api response.