From faf2fa70dd4fcd5692c9a1b1171a821fa1bc99ce Mon Sep 17 00:00:00 2001 From: Patrick Michl Date: Thu, 17 Feb 2022 22:09:59 +0100 Subject: [PATCH] got it now check if variable set --- .drone.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.drone.yml b/.drone.yml index f1678bc..0e5e668 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,11 @@ type: docker name: hcloud steps: +- name: check requirements + image: alpine + commands: + - '[ -z "$SERVER_ID" ] && echo "SERVER_ID not set" && false' + - name: get hcloud image: alpine commands: