updated .drone.yml - easy webhook
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2020-03-09 08:04:52 +01:00
parent afa54c3bab
commit 4de1d832eb
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -28,12 +28,11 @@ clone:
disable: true
trigger:
branch:
- master
- "release/*"
event:
- push
- tag
- cron
cron:
- hourly
- hourly-build
status:
- success
- failure
@ -46,7 +45,6 @@ steps:
pull: always
image: appleboy/drone-discord:1.2.4
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:
from_secret: discord_webhook_id
webhook_token:
@ -82,7 +80,6 @@ steps:
pull: always
image: appleboy/drone-discord:1.2.4
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:
from_secret: discord_webhook_hourly_id
webhook_token: