fix a typo: missing "}"
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bf45c0481d
commit
c25f0b44ec
|
@ -50,7 +50,7 @@ steps:
|
||||||
pull: always
|
pull: always
|
||||||
image: appleboy/drone-discord:1.2.4
|
image: appleboy/drone-discord:1.2.4
|
||||||
settings:
|
settings:
|
||||||
message: "{{#success build.status}} ✅Build #{{build.number}} of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\n\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/{{repo.owner}}/{{repo.name}}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}```\n[build log]({{build.link}}) {{else}} ❌Build #{{build.number}} of `{{repo.name}}` failed.\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/{{repo.owner}}/{{repo.name}}/commit/${DRONE_COMMIT_SHA}) by {{commit.author} on `{{commit.branch}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n[build log]({{build.link}}) {{/success}}\n"
|
message: "{{#success build.status}} ✅Build #{{build.number}} of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\n\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/{{repo.owner}}/{{repo.name}}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}```\n[build log]({{build.link}}) {{else}} ❌Build #{{build.number}} of `{{repo.name}}` failed.\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/{{repo.owner}}/{{repo.name}}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}} on `{{commit.branch}}`:\n``` {{commit.message}} ```\n[build log]({{build.link}}) {{/success}}\n"
|
||||||
webhook_id:
|
webhook_id:
|
||||||
from_secret: discord_webhook_id
|
from_secret: discord_webhook_id
|
||||||
webhook_token:
|
webhook_token:
|
||||||
|
|
Loading…
Reference in New Issue