From 8df8c5f8fcc6b95121e6473c44982aaba964bb18 Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 8 Feb 2024 00:08:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(drone.yml):=20=E4=BF=AE=E6=94=B9=20notific?= =?UTF-8?q?ation=20=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改 notification 内容 Signed-off-by: Ching --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b135b2e..26db6bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -21,8 +21,8 @@ steps: content_type: application/json template: | { - "title": "Drone Build {{ build.status }}", - "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ build.commit }}", + "title": "Drone Build #{{ build.number }} {{ build.status }}", + "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ build.commit|truncate(8, True, '') }}", "group": "drone", "url": "{{ build.link }}", "icon": "https://static-00.iconduck.com/assets.00/drone-icon-2048x2048-6zua2vkz.png"