This commit is contained in:
parent
6a754916d4
commit
7010f8999e
@ -80,7 +80,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.\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}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{else}} β [Build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}} on `{{commit.branch}}`:\n``` {{commit.message}} ``` {{/success}}\n\n"
|
||||||
webhook_id:
|
webhook_id:
|
||||||
from_secret: discord_webhook_id
|
from_secret: discord_webhook_id
|
||||||
webhook_token:
|
webhook_token:
|
||||||
@ -116,7 +116,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.\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}} β
[Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` succeeded.\nevent: **`{{build.event}}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}}`\n```{{commit.message}}``` {{else}} β [Hourly build #{{build.number}}]({{build.link}}) of `{{repo.name}}` failed.\nevent: **`${DRONE_BUILD_EVENT}`**\ncommit [`${DRONE_COMMIT_SHA:0:7}`](https://git.dotya.ml/${DRONE_REPO}/commit/${DRONE_COMMIT_SHA}) by {{commit.author}} on `{{commit.branch}} on `{{commit.branch}}`:\n``` {{commit.message}} ``` {{/success}}\n\n"
|
||||||
webhook_id:
|
webhook_id:
|
||||||
from_secret: discord_webhook_hourly_id
|
from_secret: discord_webhook_hourly_id
|
||||||
webhook_token:
|
webhook_token:
|
||||||
|
Loadingβ¦
Reference in New Issue
Block a user