From 4de1d832eb22dac4fe40881ac1ba9ba4e99a8441 Mon Sep 17 00:00:00 2001 From: surtur Date: Mon, 9 Mar 2020 08:04:52 +0100 Subject: [PATCH] updated .drone.yml - easy webhook --- .drone.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2d49a72..2e711a7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: