A simple project that allow scheduled builds for the circleci free tier. 🆓 Save 💰!
Here what happens.
- A aws lamdba function named
circle-ci-cron
is created - The
circle-ci-cron
lamdba function will run once an hour - Each time the
circle-ci-cron
lamdba function runs it will use the circleci REST api to start a build
The following are required:
- You need to first install https://serverless.com/ on your local computer
- You need a aws account with API credential set up for serverless.com (see: https://serverless.com/framework/docs/providers/aws/guide/credentials/)
To run:
- Update the handler.js constants with your circleci api key, project name, etc.
- Run
serverless deploy
- Double check that your circleci.com project to make sure that the build started