about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.drone.yml b/.drone.yml
index 0e4ee4d..d201319 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -17,11 +17,11 @@ steps:
         from_secret: docker_username
       password:
         from_secret: docker_password
-- telegram-notification:
+- name: telegram-notification
     image: appleboy/drone-telegram
-    secrets: [ telegram_token, telegram_to ]
-    when:
-      status: [ success, failure ]
+    settings:
+        token: telegram_token
+        to: telegram_to
     format: markdown
     message: >
       {{#success build.status}}