Using the AWS SDK correctly
This commit is contained in:
parent
43160ca71e
commit
48903eb54e
@ -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: [
|
||||||
'/*'
|
'/*'
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user