Costa Costa - 5 months ago 35
Git Question

How to update my static AWS S3 website

I've got a static site up on S3. If I make a change to the code, and want to push an update, can I do that with git? Or can I do that with one command on the S3 cli?

Can't find this in the AWS docs.


Git won't do this but you could possibly setup a commit hook to run the AWS CLI command. The command you are looking for is aws s3 sync