Skip to content

Commit 44e1a2a

Browse files
committed
PEER-242: Update action script
Signed-off-by: SeeuSim <[email protected]>
1 parent aed3e08 commit 44e1a2a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build-deploy-docker.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,10 @@ jobs:
210210
if: ${{ contains(github.ref, 'main') && github.event.pull_request.title != 'Feedback' }}
211211
id: detect-gke
212212
run: |-
213-
is_up="$(gcloud container clusters list | grep cs3219-g16)"
213+
clusters="$(gcloud container clusters list)"
214+
echo "Clusters:\n $clusters"
215+
is_up="$(echo $clusters | grep cs3219-g16)"
216+
echo "Is Cluster Up? $is_up"
214217
if [[ -z "$is_up" ]]; then
215218
echo "output=false" >> $GITHUB_OUTPUT
216219
else

0 commit comments

Comments
 (0)