From abaf11b8bfe3bcbe4e91f6f81b408f4164a0aa76 Mon Sep 17 00:00:00 2001 From: Ching L Date: Mon, 8 Sep 2025 11:36:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Discord=20=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=EF=BC=9A=E9=99=90=E5=88=B6=E6=B6=88=E6=81=AF=E9=95=BF?= =?UTF-8?q?=E5=BA=A6=E4=B8=BA100=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index d0b3694..6fec874 100644 --- a/.drone.yml +++ b/.drone.yml @@ -29,18 +29,6 @@ steps: from_secret: discord_webhook_id webhook_token: from_secret: discord_webhook_token - username: Drone CI - avatar_url: https://github.com/drone.png - message: | - {{#success build.status}} - ✅ **Build #{{build.number}}** succeeded - {{else}} - ❌ **Build #{{build.number}}** failed - {{/success}} - **Repo:** {{repo.name}} - **Branch:** {{build.branch}} - **Commit:** `{{truncate build.commit 8}}` - **Author:** {{build.author}} - **Message:** {{truncate build.message 200}} + message: "{{truncate commit.message 100}}" when: status: [success, failure] \ No newline at end of file