The image below shows a Deployment.
Within the Apps/Versions tab, we can see which Apps are deployed, and which versions of those Apps are the default versions deployed.
In the image below, version 0.0.1 is deployed by default.
Suppose we already have made version 0.0.2 and want to deploy that instead. How do we do that?
Update to Latest
The simplest and quickest way is to click the Update to Latest button. Assuming you want to deploy version 0.0.2 and there is no more recent version, then this would accomplish the change you want.
You can see that after clicking "Update to Latest", the "Version currently deployed as default" is now 0.0.2. The parentheses "(Latest)" shows that 0.0.2 is indeed the most recent version available.
Don't forget to do Cloud Update.
Note also that this is a change to the Deployment configuration and to have an effect, you need to push the Deployment config to the Cloud again.
Updating to a Version which is not latest
If you want to change the version deployed, but do not want to deploy the latest version, you can do the following:
- select the version you want to deploy from the versions drop-down as shown in the image below
- click the Update button
- Push new configuration to Cloud