Fix
This commit is contained in:
parent
827be39858
commit
cc6abf6f5e
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ module.exports = async (app: express.Application) => {
|
||||||
const state = event.state;
|
const state = event.state;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case 'failure':
|
case 'failure':
|
||||||
const commit = event.commit.commit;
|
const commit = event.commit;
|
||||||
post(`⚠️🚨BUILD FAILED🚨⚠️: ?[${commit.message}](${commit.url})`);
|
post(`⚠️🚨BUILD FAILED🚨⚠️: ?[${commit.commit.message}](${commit.html_url})`);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue