From c2f23d3e7fe9b31c011be652013627a2c88cf95d Mon Sep 17 00:00:00 2001 From: Peter Stuifzand Date: Sat, 12 Jan 2019 17:23:13 +0100 Subject: [PATCH] Use newer syntax for secrets and the webhook url --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index a67b706..ee0f1f5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,8 +19,9 @@ pipeline: image: plugins/webhook settings: debug: true - urls: - from_secret: success_webhook + secrets: + - source: success_webhook + target: urls when: status: [success] @@ -28,7 +29,8 @@ pipeline: image: plugins/webhook settings: debug: true - urls: - from_secret: failure_webhook + secrets: + - source: failure_webhook + target: urls when: status: [failure]