Skip to content

Commit 3a520f7

Browse files
committed
trigger ecs deployment in gha
1 parent d8b13cd commit 3a520f7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/deploy-sandbox.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ jobs:
3838
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG_LOCAL
3939
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG_LOCAL $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG_REMOTE
4040
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG_REMOTE
41-
41+
42+
- name: Trigger ECS Deployment
43+
env:
44+
CLUSTER_NAME: iiif-poc-sandbox
45+
SERVICE_NAME: iiif-poc-sandbox
46+
run: |
47+
aws ecs update-service --cluster $CLUSTER_NAME --service $SERVICE_NAME --force-new-deployment

0 commit comments

Comments
 (0)