Fix grep now that `gcloud compute instance-groups list` has more than one result
This commit is contained in:
parent
db52d63b86
commit
8f9e993fab
|
|
@ -106,7 +106,7 @@ jobs:
|
||||||
id: does-group-exist
|
id: does-group-exist
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
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
|
# Deploy new managed instance group using the new instance template
|
||||||
- name: Create managed instance group
|
- name: Create managed instance group
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue