Notify a slack user when the user is mentionned in a github comment.
Or get the project and :
$ mix deps.get
$ iex -S mix run --no-halt
You can specify the PORT
using env variable. By default it's 8080.
To use PhuMe you need to get first a bot token from Slack. Create one and get the token.
Set this token to the env variables PHUB_ME_SLACK_API_TOKEN
.
As slack token. Nicknames need to be set as env variables. Export variables without @
:
export mynicknameongithub=mynicknameonslack
In Heroku it looks like this :
Github nickname on the left, slack nickname on the right.
Then in github in webhooks add configuration for your Phubme. https://myserver.io/phubme
, application/json
only "Issue comment".
Then try it.
Feel free to open issue and PR.