From f4d249f11b156331146b14745e13d328a2461295 Mon Sep 17 00:00:00 2001 From: Sergey Stepanov Date: Wed, 25 Aug 2021 13:56:40 +0300 Subject: [PATCH] Use Bash in CD --- .github/workflows/cd/deploy-app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd/deploy-app.sh b/.github/workflows/cd/deploy-app.sh index 0eec4da9..36725d30 100755 --- a/.github/workflows/cd/deploy-app.sh +++ b/.github/workflows/cd/deploy-app.sh @@ -112,7 +112,7 @@ if [[ ! -z "${DO_TOKEN}" ]]; then call=$(curl -Ss -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $DO_TOKEN" $DO_API_ENDPOINT$tag) res=$? if test "$res" == "0"; then - IP_LIST+=$(echo "$call" | jq -r -j \ + IP_LIST+=" "$(echo "$call" | jq -r -j \ ".droplets[] | .networks.v4[] | select(.type | contains(\"public\")).ip_address, \" \"") else echo "curl failed with the code [$res]"