tail-2-slackbot
tail -f日志文件并将所有新行作为 Slackbot 发送到任何公共频道。
安装
$ git clone https://github.com/Leask/tail-2-slackbot.git
$ cd tail-2-slackbot
$ npm install
$ cp config.sample.js config.js
用法
在浏览器中转到 Slack 集成配置页面:
https://[org domain].slack.com/services/new
添加一个新的Slackbot ,你会看到一个这样的网址:
https://[org domain].slack.com/services/hooks/slackbot?token=[token]
使用上面的信息( org-domain & token )
评论0
最新资源