carlquistb / FormulaCraft

An SMS-based service for running Minecraft server on AWS.
MIT License
0 stars 1 forks source link

Add S3 sync automation from master branch on any change to the repo. #55

Closed carlquistb closed 4 years ago

carlquistb commented 4 years ago

Resolves #40

Adds a new workflow for syncing files from ./AutoStack/ec2 to s3://bucket-name/scripts.

An AWS user with restricted permissions has been created for this workflow, and it's credentials are encrypted in the repo's GitHub secrets.

If we want to extend this (to include lambda functions, public site, CloudFormation scripts, etc), we just need more jobs in the workflow file. Additionally, we will need to extend permissions to the AWS user.