refactor: update Woodpecker CI Telegram notification configuration for improved security and message content.
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -44,17 +44,18 @@ steps:
|
|||||||
image: appleboy/drone-telegram
|
image: appleboy/drone-telegram
|
||||||
settings:
|
settings:
|
||||||
token:
|
token:
|
||||||
from_secret: 8686730921:AAEtcvEAGFcJTobcoiy_FqAvq4mqCTZzOdM
|
from_secret: telegram_token
|
||||||
to:
|
to:
|
||||||
from_secret: -1003898365147
|
from_secret: telegram_chat_id
|
||||||
thread_id: 8
|
thread_id: 8
|
||||||
format: html
|
format: html
|
||||||
message: >
|
message: >
|
||||||
<b>Deployment Success!</b>
|
<b>🚀 Deployment {{ build.status }}!</b>
|
||||||
<b>Project:</b> {{ repo.name }}
|
<b>Project:</b> {{ repo.name }}
|
||||||
<b>Commit:</b> {{ commit.message }}
|
<b>Commit:</b> {{ commit.message }}
|
||||||
<b>Author:</b> {{ commit.author }}
|
<b>Author:</b> {{ commit.author }}
|
||||||
<b>Status:</b> ✅ Finished
|
<b>Status:</b> {{ build.status }}
|
||||||
when:
|
when:
|
||||||
|
- event: [push]
|
||||||
branch: master
|
branch: master
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
Reference in New Issue
Block a user