diff --git a/.drone.yml b/.drone.yml index d2997fa..cda85f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -35,5 +35,19 @@ steps: - cd domo-iot/build - make gcovr +- name: send telegram notification + image: appleboy/drone-telegram + settings: + token: + from_secret: telegram_token + to: + from_secret: telegram_id + message: > + {{#success build.status}} + build {{build.number}} succeeded. Good job. + {{else}} + build {{build.number}} failed. Fix me please. + {{/success}} + image_pull_secrets: - dockerconfigjson diff --git a/README.md b/README.md index 027d2c2..027fb18 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,5 @@ https://kore.io/ http://facil.io/ https://dev.to/fuksito/private-ci-using-private-docker-registry-with-drone-io-almost-free-15ek + +https://medium.com/@ManHay_Hong/how-to-create-a-telegram-bot-and-send-messages-with-python-4cf314d9fa3e