From 2f5d19539511809eba465322610c5f33dbe5900a Mon Sep 17 00:00:00 2001 From: gregandev Date: Tue, 20 Dec 2022 14:16:52 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'.drone.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 214e1da..259ef7d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -51,8 +51,12 @@ steps: - name: notification image: appleboy/drone-telegram settings: - token: "5585226690:AAGG3SzD_ANFLoLTIw3RYN4029T8QtyrJ-0" - to: "@gregandev_bot" + token: + from_secret: TELEGRAM_TOKEN + to: + from_secret: TELEGRAM_USERID + when: + status: [success, failure] message: > 📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} {{#success build.status}} @@ -60,3 +64,4 @@ steps: {{else}} 🛑 failed for 👷‍♂️ build {{build.number}} {{/success}} +