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}} +