diff --git a/.github/workflows/backend-ci-cd.yml b/.github/workflows/backend-ci-cd.yml index 63d7cb3..7da049c 100644 --- a/.github/workflows/backend-ci-cd.yml +++ b/.github/workflows/backend-ci-cd.yml @@ -85,7 +85,8 @@ jobs: -e DB_PASSWORD=$(aws ssm get-parameter --name "/bami/DB_PASSWORD" --with-decryption --query "Parameter.Value" --output text) \ -e EC2_PUBLIC_DNS=$(aws ssm get-parameter --name "/bami/PUBLIC_DNS_ADDR" --query "Parameter.Value" --output text) \ -e CLOUDFRONT_BASE_URL=$(aws ssm get-parameter --name "/bami/CLOUDFRONT_BASE_URL" --query "Parameter.Value" --output text) \ - bami-backend:latest + -e AI_EC2_ADDR=$(aws ssm get-parameter --name "/bami/AI_EC2_ADDR" --query "Parameter.Value" --output text) \ + bami-backend:latest || exit 1 echo "Deployment completed successfully." EOF