From 2dad707a89687195dd743bf47c4b26cdec31e779 Mon Sep 17 00:00:00 2001 From: matti Date: Thu, 1 Dec 2022 15:22:01 +0000 Subject: [PATCH] add notification template call an webhookendpoint in our n8n installation and notify over signal-cli API --- .drone.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 015ab17..c224309 100644 --- a/.drone.yml +++ b/.drone.yml @@ -40,15 +40,18 @@ steps: - name: send notification image: plugins/webhook settings: - username: drone_webhook - password: - from_secret: webhook_password urls: - from_secret: webhook_notify_url + from_secret: DRONE_WEBHOOK_ENDPOINT + username: drone + password: + from_secret: DRONE_WEBHOOK_SECRET content_type: application/json template: | { - "owner": "{{ repo.owner }}", - "repo": "{{ repo.name }}", + "branch": "{{ build.branch }}", + "author": "{{ build.author }}", + "event": "{{ build.event }}", "status": "{{ build.status }}", + "owner": "{{ repo.owner }}", + "repo": "{{ repo.name }}" }