ci: add Telegram notification step to CI pipeline

This commit is contained in:
Moh Dzulfikri Maulana
2026-03-10 10:04:08 +07:00
parent 71c9d9a67a
commit 20ac1da6e4

View File

@@ -38,3 +38,23 @@ steps:
when:
branch: master
event: push
# 3.Telegram Notification
notify-telegram:
image: appleboy/drone-telegram
settings:
token:
from_secret: 8686730921:AAEtcvEAGFcJTobcoiy_FqAvq4mqCTZzOdM
to:
from_secret: -1003898365147
thread_id: 8
format: html
message: >
<b>Deployment Success!</b>
<b>Project:</b> {{ repo.name }}
<b>Commit:</b> {{ commit.message }}
<b>Author:</b> {{ commit.author }}
<b>Status:</b> ✅ Finished
when:
branch: master
status: [ success, failure ]