Using the AWS SDK correctly
This commit is contained in:
1 parent
43160ca71e
commit
48903eb54e
1 file changed
+1
-1
+1
-1
@@ -81,7 +81,7 @@ Promise.all([bucketContents, uploadDetails]).then(([bucket, upload]) => {
|
|||||||
InvalidationBatch: {
|
InvalidationBatch: {
|
||||||
CallerReference: `circleci-deploy-${ process.env.CIRCLE_BRANCH }-${ process.env.CIRCLE_BUILD_NUM }-${ process.env.CIRCLE_SHA1 }`,
|
CallerReference: `circleci-deploy-${ process.env.CIRCLE_BRANCH }-${ process.env.CIRCLE_BUILD_NUM }-${ process.env.CIRCLE_SHA1 }`,
|
||||||
Paths: {
|
Paths: {
|
||||||
Quantity: bucket.length,
|
Quantity: 1,
|
||||||
Items: [
|
Items: [
|
||||||
'/*'
|
'/*'
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in new issue
Block a user