File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ echo "---> Creating deployment with CodeDeploy"
28
28
29
29
# Update the ECS service to use the updated Task version
30
30
aws ecs deploy \
31
- --service $APP_NAME \
31
+ --service $CLIENT_NAME - $ APP_NAME \
32
32
--task-definition ./task-definition.json \
33
33
--cluster $CLUSTER_NAME \
34
34
--codedeploy-appspec ./app-spec.json \
@@ -41,6 +41,11 @@ sleep 5 # Wait for deployment to be created so we can fetch DEPLOYMENT_ID next
41
41
42
42
DEPLOYMENT_ID=$( aws deploy list-deployments --application-name=$CLUSTER_NAME -$CLIENT_NAME -$APP_NAME --deployment-group=$CLUSTER_NAME -$CLIENT_NAME -$APP_NAME --max-items=1 --query=" deployments[0]" --output=text | head -n 1)
43
43
44
+ echo $DEPLOYMENT_ID
45
+ echo $CLIENT_NAME
46
+ echo $CLUSTER_NAME
47
+ echo $APP_NAME
48
+
44
49
echo " ---> For More Deployment info: https://$AWS_DEFAULT_REGION .console.aws.amazon.com/codesuite/codedeploy/deployments/$DEPLOYMENT_ID "
45
50
46
51
echo " ---> Waiting for Deployment ..."
You can’t perform that action at this time.
0 commit comments