Skip to main content

Deployment Strategy

This page explains how to customize the Deployment Strategy of the application or microservice.
For this action we use the Continuous Deployment tool to gradually roll out your application and start an automatic roll back if it's necessary.

1. In the main branch you will edit the YAML file named .github/workflows/github-ci.yaml

2. In the github-ci.yaml file search for the Features section, you will find it like this:


## Features -------------------------------------------------------------------------------------#

3. Bellow the section title, add the following configuration and change the values as you need:

    # Deployment Strategy
# By default the deploys will use the rolling strategy
# To use Canary strategy in your enviroments set this to 'true'
strategyCanaryDev: 'false'
strategyCanaryStg: 'false'
strategyCanaryProd: 'false'
# To use BlueGreen strategy in your enviroments set this to 'true'
strategyBlueGreenDev: 'false'
strategyBlueGreenStg: 'false'
strategyBlueGreenProd: 'false'

4. Commit and enjoy! ✨