From 172630702ad78ff4bffe5daea1265a080d8f321c Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Wed, 27 Mar 2024 10:35:53 +0000 Subject: [PATCH] Revert "feat: test condition" This reverts commit 4146b2664be18ca0c5935262a72c9e6e0700b919. --- .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 8eab61eeb..20c043f3d 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 }} == 'review' ]]; then + if [[ ${{ inputs.environment }} == 'production' ]]; 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