From 93e786140d2fd1d6412e35d64d0f46363a15ec88 Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 8 Feb 2024 00:37:09 +0800 Subject: [PATCH] fix(drone.yml): fix syntax error fix syntax error Signed-off-by: Ching --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2c442d5..9071ced 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: template: | { "title": "Drone Build #{{ build.number }} {{ build.status }}", - "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: ${build.commit:0:8}", + "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ truncate build.commit 8 }}" "group": "drone", "url": "{{ build.link }}", "icon": "https://static-00.iconduck.com/assets.00/drone-icon-2048x2048-6zua2vkz.png"