From 48903eb54ee5d4d2f9f272e4e8b1f89a829c9a6f Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Tue, 29 May 2018 17:13:38 -0400 Subject: [PATCH] Using the AWS SDK correctly --- script/s3-upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/s3-upload.js b/script/s3-upload.js index 3543282..1bfe6e7 100644 --- a/script/s3-upload.js +++ b/script/s3-upload.js @@ -81,7 +81,7 @@ Promise.all([bucketContents, uploadDetails]).then(([bucket, upload]) => { InvalidationBatch: { CallerReference: `circleci-deploy-${ process.env.CIRCLE_BRANCH }-${ process.env.CIRCLE_BUILD_NUM }-${ process.env.CIRCLE_SHA1 }`, Paths: { - Quantity: bucket.length, + Quantity: 1, Items: [ '/*' ]