代码拉取完成,页面将自动刷新
This repository is subscribed Gitee webhook for generating merged pull request logs by sinatra
Clone this repository:
$ git clone git@gitee.com:jimcheung/gitee-subscriber.git
$ cd gitee-subscriber
And then execute:
$ bundle install
Now create databate and migrate:
$ bundle exec rake db:create
$ bundle exec rake db:migrate
Start to run app:
$ puma
Visit http://localhost:9292/logs?access_token=ll6_y0Xbj9cV_g
And that's it, you're all set
Visit your Gitee repository settings
And then add hook for subscribing pull request event
Note that the hook url is your app server, and password is the access_token of app config
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。