mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-01-23 02:34:42 +00:00
Use Bash in CD
This commit is contained in:
parent
c78117125f
commit
f4d249f11b
1 changed files with 1 additions and 1 deletions
2
.github/workflows/cd/deploy-app.sh
vendored
2
.github/workflows/cd/deploy-app.sh
vendored
|
|
@ -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]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue