Allows the upload command to update an existing app from GitLab CI
This update provides a couple of changes:
-
Adds an
update
command to the CLI. This provides the ability to update an existing app deployed to Appetize, for example:appetize update PATH PUBLIC_KEY
-
Adds additional behavior to the
upload
command that will detect if it is running in GitLab CI, and if so, looks for an existing Appetize upload and updates (instead of creates) if it finds one. This will prevent duplicate deployments to Appetize and make clean up of review apps work better when MRs are merged or closed.
Edited by Darby Frey