You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Deploy to a service that uses the 'ECS' deployment controller
154
-
async function updateEcsService(ecs, clusterName, service, taskDefArn, waitForService, waitForMinutes) {
154
+
async function updateEcsService(ecs, clusterName, service, taskDefArn, waitForService, waitForMinutes, forceNewDeployment) {
155
155
core.debug('Updating the service');
156
156
await ecs.updateService({
157
157
cluster: clusterName,
158
158
service: service,
159
-
taskDefinition: taskDefArn
159
+
taskDefinition: taskDefArn,
160
+
forceNewDeployment: forceNewDeployment
160
161
}).promise();
161
162
core.info(`Deployment started. Watch this deployment's progress in the Amazon ECS console: https://console.aws.amazon.com/ecs/home?region=${aws.config.region}#/clusters/${clusterName}/services/${service}/events`);
0 commit comments