GithubHelp home page GithubHelp logo

heroku-slack-hooker's Introduction

heroku-slack-hooker

A tiny nodejs server that translates Heroku deploy-hooks to Slack's webhooks

Why?

Slack already has a Heroku integration builtin, but missing a small basic feature: showing the log of commits made between current and previous deploys

Usage

  1. deploy heroku-slack-hooker to a server:
  2. we deal with heroku... so lets deploy this to heroku too:
heroku create <myhooker>
git push heroku master

suppose the url is: https://<myhooker>.herokuapp.com 2. go to Slack settings => Integrations

  1. add a new 'Incoming Webhook', select a channel
  2. copy the Webhook URL value. (we'll refer it as: <slack-webhook-url>)
  3. cd into a heroku project you want to connect with Slack and run:
   heroku addons:add deployhooks:http --url https://<myhooker>.herokuapp.com/hook/<slack-webhook-url>

(this can be also done in Heorku's dashboard webui)

It should work now :)

heroku-slack-hooker's People

Contributors

michael-go avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.