Promote / Redeploy Version

These are times when you would want to promote or redeploy a specific version (release) on the same or a different environment. To do the same, you can follow one of the two ways -

  1. Use Cosmocloud Deploy console.

  2. Use Cosmocloud Deploy CLI.

Using Cosmocloud Deploy Console

  1. Go to App Services and open your preferred App Service.

  2. Navigate to the Releases tab.

  3. On the release you would want to Promote / Redeploy, click the 3 dot menu and chose Redeploy.

  4. Select the environment on which it would be deployed.

  5. Click Deploy.

Using Cosmocloud Deploy CLI

  1. Make sure you have the Cosmocloud Deploy CLI installed.

  2. Run the following command -

cosmocloud promote --organisation <organisation_name> --app-service <app_service_name> --version <version_number> --environment <environment_name>

Last updated