fix: wrong commit message
This commit is contained in:
parent
86b2493453
commit
eaddfb222e
@ -347,7 +347,7 @@ steps:
|
|||||||
pull: always
|
pull: always
|
||||||
image: appleboy/drone-telegram:1.3.1
|
image: appleboy/drone-telegram:1.3.1
|
||||||
settings:
|
settings:
|
||||||
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"
|
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"
|
||||||
to:
|
to:
|
||||||
from_secret: telegram_to
|
from_secret: telegram_to
|
||||||
token:
|
token:
|
||||||
|
@ -237,7 +237,7 @@
|
|||||||
settings: {
|
settings: {
|
||||||
to: { from_secret: 'telegram_to' },
|
to: { from_secret: 'telegram_to' },
|
||||||
token: { from_secret: 'telegram_token' },
|
token: { from_secret: 'telegram_token' },
|
||||||
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',
|
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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user