Giter Site home page Giter Site logo

circle-ci-ifttt-integration's Introduction

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.

circle-ci-ifttt-integration's People

Contributors

kunalbhat avatar oliverswitzer avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.