Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 565 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 565 Bytes

Auto Merge for AWS Lambda

Set up

You'll need to have a environment variable set up in your AWS instance with a name of: GITHUB_TOKEN and it needs to be a token that has access to your repo's.

Reason

I made this so that I could push code changes into a staging branch, then have this script run after hours (triggered by an AWS Event) and merge staging into master. From there I have AWS CodePipeline hooked up to deploy the application. Also, I have Cloudwatch Listening for errors on the Lambda Function and will alert if any errors are returned.