From 88bfdeb2bc0bd5629a939769e22c171309b830a3 Mon Sep 17 00:00:00 2001 From: ezkrg Date: Sun, 12 Apr 2020 11:50:56 +0200 Subject: fix telegram message --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index f37f4c2..913eca7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 -- cgit v1.2.3