Update github-bot.ts

follow dvelop instead master
This commit is contained in:
syuilo 2018-11-16 23:00:34 +09:00
parent 1fd298ac9c
commit e42aa2530d
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -87,7 +87,7 @@ handler.on('status', event => {
handler.on('push', event => { handler.on('push', event => {
const ref = event.ref; const ref = event.ref;
switch (ref) { switch (ref) {
case 'refs/heads/master': case 'refs/heads/develop':
const pusher = event.pusher; const pusher = event.pusher;
const compare = event.compare; const compare = event.compare;
const commits: any[] = event.commits; const commits: any[] = event.commits;