diff --git a/.github/workflows/aws_deploy.yml b/.github/workflows/aws_deploy.yml index 20c043f3d..8eab61eeb 100644 --- a/.github/workflows/aws_deploy.yml +++ b/.github/workflows/aws_deploy.yml @@ -66,7 +66,7 @@ jobs: registry: ${{ steps.ecr-login.outputs.registry }} commit_tag: ${{ github.sha }} run: | - if [[ ${{ inputs.environment }} == 'production' ]]; then + if [[ ${{ inputs.environment }} == 'review' ]]; then echo "Error: Deployment to production environment is not allowed as there is no docker image (i.e. the AWS deploy on staging was unsuccessful for this commit)." exit 1 fi