From eb207a5ba12f21a5173dd563a20cef9577f842b4 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sun, 31 Jul 2022 19:59:02 +0200 Subject: [PATCH] Change syntax due to shell --- .drone.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index f9b36cb..ed9131b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,9 +15,7 @@ steps: image: bv11-cr01.bessems.eu/proxy/alpine/curl commands: - | - #!/bin/bash - - if [[ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) -ne '200']]; then + if [ $(curl -s -o /dev/null -w "%{http_code}" https://code.spamasaurus.com/api/v1/packages/$GIT_USERNAME/generic/skopeo/$SKOPEO_VERSION) != '200']; then exit 0 else exit 1