Skip to content

Commit a164c6d

Browse files
committed
update ecs service to deploy
1 parent a246a5f commit a164c6d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/deploy.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ docker build -t ${DOCKER_NAME} .
2222
docker tag ${DOCKER_NAME}:latest ${AWS_ACCOUNT_NUMBER}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/${DOCKER_NAME}:latest
2323
docker push ${AWS_ACCOUNT_NUMBER}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com/${DOCKER_NAME}:latest
2424

25-
# notify to deploy
26-
aws sns publish --topic-arn "arn:aws:sns:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_NUMBER}:frontend_app_updated" \
27-
--message "${ENV}: ${TRAVIS_COMMIT}"
25+
# Update service
26+
aws ecs update-service --cluster micropost --service frontend

0 commit comments

Comments
 (0)