From 3502cfd04ff104a59fec4288801837cd78fcd30a Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Sun, 11 Apr 2021 14:54:23 +0200 Subject: [PATCH] webhook - depends_on --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 21622ce..83d42ef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,6 +4,7 @@ name: default steps: - name: php7.4 image: plugins/docker + pull: if-not-exists settings: username: from_secret: hub_username @@ -21,6 +22,7 @@ steps: - name: php7.3 image: plugins/docker + pull: if-not-exists settings: username: from_secret: hub_username @@ -38,6 +40,7 @@ steps: - name: php7.2 image: plugins/docker + pull: if-not-exists settings: username: from_secret: hub_username @@ -56,6 +59,7 @@ steps: - name: webhook image: plugins/webhook + pull: if-not-exists settings: urls: https://huginn.cynarski.pl/users/1/web_requests/18/Qimktqp5KsPz8S9EgNrUuSuXU93GRHYL content_type: application/json @@ -65,7 +69,11 @@ steps: "details": "{{ repo.name }}" } debug: true - trigger: + depends_on: + - php7.4 + - php7.3 + - php7.2 + when: status: - success - failure