Skip to content

Setup is not uploading static files  #192

@AramZS

Description

@AramZS

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions