Browse Source

feat: test condition

pull/2355/head
natdeanlewissoftwire 9 months ago
parent
commit
4146b2664b
  1. 2
      .github/workflows/aws_deploy.yml

2
.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

Loading…
Cancel
Save