diff --git a/deploy-to-aks/action.yml b/deploy-to-aks/action.yml index 6020aa3..33e479c 100644 --- a/deploy-to-aks/action.yml +++ b/deploy-to-aks/action.yml @@ -51,6 +51,10 @@ inputs: description: Path to the terraform files required: false default: 'terraform/application' + maintenance_traffic: + description: enable traffic to maintenance site after deployment + required: false + default: false outputs: environment_url: @@ -103,6 +107,7 @@ runs: env: DOCKER_IMAGE_TAG: ${{ inputs.sha }} PR_NUMBER: ${{ inputs.pr-number }} + MAINTENANCE_TRAFFIC: ${{ inputs.maintenance_traffic }} - name: Install kubectl if: ${{ ( inputs.db-seed == 'true' && inputs.environment == 'review' ) }}