allow notifications #2

Merged
admin-tea merged 3 commits from sonar-arlets into master 2023-05-26 01:15:26 +02:00
Showing only changes of commit af372f29ae - Show all commits

View File

@@ -46,3 +46,20 @@ steps:
event:
- push
- tag
- name: send build notification
image: appleboy/drone-telegram
settings:
token:
from_secret: TELE_TOKEN
to:
from_secret : TELE_GID
message: "{{#success build.status}} ✅ Build #{{build.number}} of `{{repo.name}}` succeeded.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{else}} ❌ Build #{{build.number}} of `{{repo.name}}` failed.\n\n📝 Commit by {{commit.author}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n\n🌐 {{ build.link }} {{/success}}\n\n timecost: {{since build.started}}\n"
trigger:
ref:
- refs/heads/master
- "refs/pull/**"
- "refs/tags/**"