From 2146f4df9367b42ee29cd6f67ac741bc36c3fcbe Mon Sep 17 00:00:00 2001 From: bradsawadye Date: Mon, 27 May 2024 22:17:59 +0200 Subject: [PATCH] Fix if statement --- .github/workflows/run-tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.sh b/.github/workflows/run-tests.sh index 1b4cfab8..754f830d 100755 --- a/.github/workflows/run-tests.sh +++ b/.github/workflows/run-tests.sh @@ -37,8 +37,7 @@ else if [[ $folder_name == *"clickhouse"* ]]; then DOCKER_HOST=ssh://ubuntu@$GITHUB_RUN_ID.jembi.cloud yarn test:"$NODE_MODE":clickhouse - elif - if [[ $folder_name == *"elastic"* ]] || [[ $folder_name == *"kibana"* ]] || [[ $folder_name == *"logstash"* ]]; then + elif [[ $folder_name == *"elastic"* ]] || [[ $folder_name == *"kibana"* ]] || [[ $folder_name == *"logstash"* ]]; then DOCKER_HOST=ssh://ubuntu@$GITHUB_RUN_ID.jembi.cloud yarn test:"$NODE_MODE":elk elif [[ $folder_name == *"kafka"* ]] || [[ $folder_name == *"monitoring"* ]]; then DOCKER_HOST=ssh://ubuntu@$GITHUB_RUN_ID.jembi.cloud yarn test:"$NODE_MODE":kafka