A hubot script to get deploy hook from heroku
npm i -S hubot-heroku-deploy-hook
Add ["hubot-heroku-deploy-hook"]
in external-scripts.json
.
Set GITHUB_USER
, GITHUB_REPO_NAME
and DEPLOY_CHANNEL
in environment variable. GITHUB_USER
and GITHUB_REPO_NAME
get from https://github.com/GITHUB_USER/GITHUB_REPO_NAME
. DEPLOY_CHANNEL
is the channel to post notification (default #random
).