From 0f2746fffdc6008fd6cb24cfc0346e51e2ebb660 Mon Sep 17 00:00:00 2001
From: Moh Dzulfikri Maulana <106526316+Dzuuul@users.noreply.github.com>
Date: Tue, 10 Mar 2026 10:10:56 +0700
Subject: [PATCH] refactor: update Woodpecker CI Telegram notification
configuration for improved security and message content.
---
.woodpecker.yml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.woodpecker.yml b/.woodpecker.yml
index 3ced54d..edea2f6 100644
--- a/.woodpecker.yml
+++ b/.woodpecker.yml
@@ -44,17 +44,18 @@ steps:
image: appleboy/drone-telegram
settings:
token:
- from_secret: 8686730921:AAEtcvEAGFcJTobcoiy_FqAvq4mqCTZzOdM
+ from_secret: telegram_token
to:
- from_secret: -1003898365147
+ from_secret: telegram_chat_id
thread_id: 8
format: html
message: >
- Deployment Success!
+ 🚀 Deployment {{ build.status }}!
Project: {{ repo.name }}
Commit: {{ commit.message }}
Author: {{ commit.author }}
- Status: ✅ Finished
+ Status: {{ build.status }}
when:
- branch: master
- status: [ success, failure ]
\ No newline at end of file
+ - event: [push]
+ branch: master
+ status: [ success, failure ]
\ No newline at end of file