Skip to content

Commit 2f54018

Browse files
committed
fix: update static site example after breaking changes
1 parent e7b755c commit 2f54018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/static-site/static-site.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export class StaticSite extends Construct {
7676

7777
// Deploy site contents to S3 bucket
7878
new s3deploy.BucketDeployment(this, 'DeployWithInvalidation', {
79-
source: s3deploy.Source.asset('./site-contents'),
79+
sources: [ s3deploy.Source.asset('./site-contents') ],
8080
destinationBucket: siteBucket,
8181
distribution,
8282
distributionPaths: ['/*'],

0 commit comments

Comments
 (0)