diff --git a/.drone.yml b/.drone.yml index 46cb819..1b39fcb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,22 +37,23 @@ steps: from_secret: discord_webhook_id DISCORD_WEBHOOK_TOKEN: from_secret: discord_webhook_token - message: > - {{#success build.status}} - ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. - 📝 Commit by {{commit.author}} on `{{commit.branch}}`: - ``` - {{commit.message}} - ``` - 🌐 {{ build.link }} - {{else}} - ❌ Build #{{build.number}} of `{{repo.name}}` failed. - 📝 Commit by {{commit.author}} on `{{commit.branch}}`: - ``` - {{commit.message}} - ``` - 🌐 {{ build.link }} - {{/success}} + settings: + message: > + {{#success build.status}} + ✅ Build #{{build.number}} of `{{repo.name}}` succeeded. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{else}} + ❌ Build #{{build.number}} of `{{repo.name}}` failed. + 📝 Commit by {{commit.author}} on `{{commit.branch}}`: + ``` + {{commit.message}} + ``` + 🌐 {{ build.link }} + {{/success}} # when: