We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7b755c commit 2f54018Copy full SHA for 2f54018
typescript/static-site/static-site.ts
@@ -76,7 +76,7 @@ export class StaticSite extends Construct {
76
77
// Deploy site contents to S3 bucket
78
new s3deploy.BucketDeployment(this, 'DeployWithInvalidation', {
79
- source: s3deploy.Source.asset('./site-contents'),
+ sources: [ s3deploy.Source.asset('./site-contents') ],
80
destinationBucket: siteBucket,
81
distribution,
82
distributionPaths: ['/*'],
0 commit comments