updated .drone.yml - easy webhook
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
afa54c3bab
commit
4de1d832eb
11
.drone.yml
11
.drone.yml
@ -28,12 +28,11 @@ clone:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
- "release/*"
|
|
||||||
event:
|
event:
|
||||||
- push
|
- cron
|
||||||
- tag
|
cron:
|
||||||
|
- hourly
|
||||||
|
- hourly-build
|
||||||
status:
|
status:
|
||||||
- success
|
- success
|
||||||
- failure
|
- failure
|
||||||
@ -46,7 +45,6 @@ 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"
|
|
||||||
webhook_id:
|
webhook_id:
|
||||||
from_secret: discord_webhook_id
|
from_secret: discord_webhook_id
|
||||||
webhook_token:
|
webhook_token:
|
||||||
@ -82,7 +80,6 @@ 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"
|
|
||||||
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