From 4146b2664be18ca0c5935262a72c9e6e0700b919 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Wed, 27 Mar 2024 10:29:10 +0000 Subject: [PATCH] feat: test condition --- .github/workflows/aws_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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