diff options
author | ezkrg <ezkrg@ezkrg.me> | 2020-04-12 09:50:56 +0000 |
---|---|---|
committer | ezkrg <ezkrg@ezkrg.me> | 2020-04-12 09:50:56 +0000 |
commit | 88bfdeb2bc0bd5629a939769e22c171309b830a3 (patch) | |
tree | b610690c865b8c22dba63385b4772a18deba9691 | |
parent | add telegram notification (diff) | |
download | docker-bitlbee-libpurple-88bfdeb2bc0bd5629a939769e22c171309b830a3.tar.gz docker-bitlbee-libpurple-88bfdeb2bc0bd5629a939769e22c171309b830a3.zip |
fix telegram message
-rw-r--r-- | .drone.yml | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -49,12 +49,11 @@ steps: from_secret: TT to: from_secret: TID - message: > - {{#success build.status}} - {{repo.name}} build succeeded in {{since build.started}}. - {{else}} - {{repo.name}} build failed. - {{/success}} + message: | + *{{commit.author}}* + {{#success build.status}}✅{{else}}❌{{/success}} *{{repo.namespace}}/{{repo.name}}* + [Pipeline #{{build.number}} has {{#success build.status}}passed{{else}}failed{{/success}} in {{duration build.started build.finished}}]({{build.link}}) + *Branch:* [{{commit.branch}}](https://github.com/{{repo.namespace}}/{{repo.name}}/commits/{{commit.branch}}) *Commit:* [{{commit.message}}]({{commit.link}}) --- kind: signature |