DEV Community

Discussion on: Deploy a React App to Amazon S3 using Github Actions

Collapse
 
daveu1983 profile image
Daveu1983

Great post, can I check do you upload everything in the build folder to the bucket or the build folder itself?

Collapse
 
kessir profile image
Kessir Adjaho

The simplest way is to upload the content of the build folder so that the index.html is at the root of the S3 bucket.

If you upload the build folder you may have to tweak some S3 settings to get it working.