diff --git a/.woodpecker.yml b/.woodpecker.yml index 127fcfa..3ced54d 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -37,4 +37,24 @@ steps: - docker image prune -f when: branch: master - event: push \ No newline at end of file + 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: > + Deployment Success! + Project: {{ repo.name }} + Commit: {{ commit.message }} + Author: {{ commit.author }} + Status: ✅ Finished + when: + branch: master + status: [ success, failure ] \ No newline at end of file