Skip to content

An API that sits between circle CI and IFTTT (If This Then That)

Notifications You must be signed in to change notification settings

oliverswitzer/circle-ci-ifttt-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A deployable middleware API that allows you to notify IFTTT when your Circle CI build fails

Specify in your circle.yml:

...
notify:
  webhooks:
    - url: https://<DEPLOYED_APP_URL>/webhooks/circleci/receive
...

Circle will send a a POST request to /webhooks/circleci/receive with a JSON body of:

{
  "payload": {
    ...
    "status": "<CIRCLE CI BUILD STATUS>"
    ...
  }
}

The app will translate the following statuses from Circle CI to IFTTT maker webhook events:

Circle CI IFTTT
success build_passing
failed build_failing

Development

Install dependencies:

bundle install

Start the app:

bundle exec ruby app.rb -p 3000

Create .env file, and add it to .gitignore:

IFTTT_KEY=<YOUR KEY>

Deploying

Simply run git push heroku master

Ensure that you've set IFTTT_KEY as an environment variable on Heroku.

About

An API that sits between circle CI and IFTTT (If This Then That)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages