Using the AWS SDK correctly

This commit is contained in:
Jeff Avallone 2018-05-29 17:13:38 -04:00
parent 43160ca71e
commit 48903eb54e

View File

@ -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: [
'/*'
]