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.
2 parents e7b755c + 2f54018 commit c8bf5ffCopy full SHA for c8bf5ff
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