Set up was as follows
In aws/script.ts
const deployment = new SPADeploy(this, 'spaDeployment').createSiteWithCloudfront({
indexDoc: 'index.html',
websiteFolder: '../static',
certificateARN: certificate.certificateArn,
cfAliases: [domain, `*.${domain}`]
})
File structure:
project/
|
|--aws/script.ts
|--static/index.html
I would expect the bucket with name domain to have a file at domain/index.html at the end of the deployment. But it does not have that file.
Set up was as follows
In
aws/script.tsFile structure:
I would expect the bucket with name
domainto have a file atdomain/index.htmlat the end of the deployment. But it does not have that file.