From e6f1ed0e8e4f25de80e46d6338775f23c0a194bf Mon Sep 17 00:00:00 2001 From: sthope Date: Thu, 2 Sep 2021 12:40:55 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index aede843..2dcec6f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -47,4 +47,21 @@ steps: status: - changed - failure - - success \ No newline at end of file + - success + + message: > + {{#success build.status}} + ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{else}} + ❌ Build #{{build.number}} of `{{repo.name}}` failed. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{/success}} \ No newline at end of file