How to deploy static website from netlify to aws s3

Hi, I migrated a website from gatsby cloud to netlify. The entire implementation works well, the website builds correctly. I have a problem with deploying to AWS S3. Can you give me a solution on how to make it automatically deploy to AWS S3 after building the application.

Netlify builds are meant to deploy on Netlify. If you wish to deploy to S3, please use a different CI/CD platform. Or you’re welcome to write a build plugin or a Node.js/bash script that handles deploying to S3, but this is not something we will be natively offering.