From eaddfb222ebbb2c2ee2aaa02a0068e199b2210f4 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 11 Oct 2019 20:47:36 +0800 Subject: [PATCH] fix: wrong commit message --- .drone.yml | 2 +- pipeline.libsonnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9de96fe..44917f8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -347,7 +347,7 @@ steps: pull: always image: appleboy/drone-telegram:1.3.1 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: from_secret: telegram_to token: diff --git a/pipeline.libsonnet b/pipeline.libsonnet index 7d60619..487a596 100644 --- a/pipeline.libsonnet +++ b/pipeline.libsonnet @@ -237,7 +237,7 @@ settings: { to: { from_secret: 'telegram_to' }, 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', }, }, {