ci: add Telegram notification step to CI pipeline
This commit is contained in:
@@ -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 ]
|
||||
Reference in New Issue
Block a user