aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorezkrg <ezkrg@ezkrg.me>2020-04-12 09:50:56 +0000
committerezkrg <ezkrg@ezkrg.me>2020-04-12 09:50:56 +0000
commit88bfdeb2bc0bd5629a939769e22c171309b830a3 (patch)
treeb610690c865b8c22dba63385b4772a18deba9691
parentadd telegram notification (diff)
downloaddocker-bitlbee-libpurple-88bfdeb2bc0bd5629a939769e22c171309b830a3.tar.gz
docker-bitlbee-libpurple-88bfdeb2bc0bd5629a939769e22c171309b830a3.zip
fix telegram message
-rw-r--r--.drone.yml11
1 files 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