- Create a bucket on S3
- Upload the files to the bucket
- Make the files public
- Set start as index.html and error as 404.tsx
- Access the website using the endpoint
- Create 404.tsx
- Copy logic from this repo
- set output: "export"
- Run
npm run build
- Upload ./out to S3