From f3c9f5abaed5a1e36e2edf7cdb0700d630843013 Mon Sep 17 00:00:00 2001 From: Ching Date: Thu, 8 Feb 2024 00:01:12 +0800 Subject: [PATCH] =?UTF-8?q?feat(drone.yml):=20=E5=A2=9E=E5=8A=A0=20notific?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加 notification Signed-off-by: Ching --- .drone.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.drone.yml b/.drone.yml index ddc168a..b135b2e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,6 +14,20 @@ steps: registry: git.tunpok.com tags: latest + - name: nofity + image: plugins/webhook + settings: + urls: http://bark.tunpok.com/UZ6zC82bKRjQaXiVkosVWh/ + content_type: application/json + template: | + { + "title": "Drone Build {{ build.status }}", + "body": "Project: {{ repo.name }}\nBranch: {{ build.branch }}\nCommit: {{ build.commit }}", + "group": "drone", + "url": "{{ build.link }}", + "icon": "https://static-00.iconduck.com/assets.00/drone-icon-2048x2048-6zua2vkz.png" + } + volumes: - name: dockersock host: