fix: wrong commit message
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
| @@ -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', | ||||
|         }, | ||||
|       }, | ||||
|       { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user