From 8f9e993fab16f14ff039d17e6dcd54565fad7311 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 5 Mar 2021 23:42:55 -0500 Subject: [PATCH] Fix grep now that `gcloud compute instance-groups list` has more than one result --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 559390f4..e53e7093 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -106,7 +106,7 @@ jobs: id: does-group-exist continue-on-error: true run: | - gcloud compute instance-groups list | grep "zebrad-$BRANCH_NAME"\ \ "$REGION" + gcloud compute instance-groups list | grep "zebrad-$BRANCH_NAME" | grep "$REGION" # Deploy new managed instance group using the new instance template - name: Create managed instance group