update notif telegram
This commit is contained in:
@ -1,4 +1,28 @@
|
||||
steps:
|
||||
- name: telegram_start_notify
|
||||
image: appleboy/drone-telegram
|
||||
settings:
|
||||
token: 7616010754:AAGXMf8x-roKozdT0j-bOZ1y9dmbulbKPbM
|
||||
to: -4765409490
|
||||
message: |
|
||||
🚀 *Woodpecker CI Build Starting* 🚀
|
||||
|
||||
*Repo:* ${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||
*Repo Link:* ${CI_REPO_URL}
|
||||
*Branch:* ${CI_COMMIT_BRANCH}
|
||||
|
||||
*Build Status:* starting
|
||||
*Build Link:* ${CI_PIPELINE_URL}
|
||||
|
||||
*Commit ID:* `${CI_COMMIT_SHA:0:8}`
|
||||
*Commit By:* ${CI_PREV_COMMIT_AUTHOR}
|
||||
*Commit Link:* ${CI_PREV_COMMIT_URL}
|
||||
*Commit Msg:* {{commit.message}}
|
||||
🙏 hopefully success Mas Bro.
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
- name: setup
|
||||
image: node:22-alpine
|
||||
commands:
|
||||
@ -34,3 +58,31 @@ steps:
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
- name: telegram_end_notify
|
||||
image: appleboy/drone-telegram
|
||||
settings:
|
||||
token: 7616010754:AAGXMf8x-roKozdT0j-bOZ1y9dmbulbKPbM
|
||||
to: -4765409490
|
||||
message: |
|
||||
🚀 *Woodpecker CI Build Finish* 🚀
|
||||
|
||||
*Repo:* ${CI_REPO_OWNER}/${CI_REPO_NAME}
|
||||
*Repo Link:* ${CI_REPO_URL}
|
||||
*Branch:* ${CI_COMMIT_BRANCH}
|
||||
|
||||
*Build Status:* *${CI_PREV_PIPELINE_STATUS}*
|
||||
*Build Link:* ${CI_PIPELINE_URL}
|
||||
|
||||
*Commit ID:* `${CI_COMMIT_SHA:0:8}`
|
||||
*Commit By:* ${CI_PREV_COMMIT_AUTHOR}
|
||||
*Commit Link:* ${CI_PREV_COMMIT_URL}
|
||||
*Commit Msg:* {{commit.message}}
|
||||
{{#success build.status}}
|
||||
😎 build succeeded. Good job.
|
||||
{{else}}
|
||||
🙈 build failed. Fix me please, before client is aware.
|
||||
{{/success}}
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
|
||||
Reference in New Issue
Block a user