Skip to content

Commit de188ac

Browse files
committed
Updating the deployment action.
1 parent ee3a5d4 commit de188ac

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
VPCId=${{ secrets.VPC_ID }} \
8383
PrivateSubnets=${{ secrets.PRIVATE_SUBNETS }} \
8484
--capabilities CAPABILITY_NAMED_IAM \
85-
--region ${{ env.AWS_REGION }}
85+
--region ${{ env.AWS_REGION }} \
8686
--no-fail-on-empty-changeset
8787
8888
- name: Get ECR repository URI
@@ -102,14 +102,17 @@ jobs:
102102
--output text \
103103
--region ${{ env.AWS_REGION }})
104104
105+
echo "SERVICE_URL=$SERVICE_URL" >> $GITHUB_ENV
106+
echo "service_url=$SERVICE_URL" >> $GITHUB_OUTPUT
107+
105108
echo "🚀 Deployment complete!"
106109
echo "Service URL: $SERVICE_URL"
107110
echo "Environment: ${{ env.ENVIRONMENT }}"
108111
echo "Image: ${{ env.IMAGE_URI }}"
109112
110113
- name: Health check
111114
run: |
112-
SERVICE_URL="${{ steps.outputs.outputs.service_url }}"
115+
SERVICE_URL="${{ env.SERVICE_URL }}"
113116
HEALTH_ENDPOINT="${SERVICE_URL}/v2.0/routes/healthwatch"
114117
115118
echo "Performing health check on: $HEALTH_ENDPOINT"

0 commit comments

Comments
 (0)