We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 554dad4 commit 1bf4a44Copy full SHA for 1bf4a44
typescript/static-site/static-site.ts
@@ -102,7 +102,7 @@ export class StaticSite extends Construct {
102
103
// Deploy site contents to S3 bucket
104
new s3deploy.BucketDeployment(this, 'DeployWithInvalidation', {
105
- sources: [s3deploy.Source.asset('./site-contents')],
+ sources: [s3deploy.Source.asset(path.join(__dirname, './site-contents'))],
106
destinationBucket: siteBucket,
107
distribution,
108
distributionPaths: ['/*'],
0 commit comments