Push to s3 bucket

I run a website on an s3 bucket and want to have a private git repo that continuously syncs with it so I can use the git repo to update the website. I decided that using github actions is the best way to do this, but I’ve never used github actions before so I was hoping someone could walk me through this.

The AWS CLI is included in GitHub’s hosted virtual environments. See https://github.com/aws-actions/configure-aws-credentials#usage for the example workflow of configuring credentials and uploading to S3.

1 Like

I recently made an action to do that, give it a try!

https://github.com/marketplace/actions/s3cmd-sync-action

Is very simple to setting up.