Skip to content

An open-source, faster Devin alternative

TypeScript

make sure that control planes can be discovered in workflow

Brian Reardonc879dc00c24f
diff --git a/.github/workflows/deploy-server.yml b/.github/workflows/deploy-server.yml
index 08e01af1..3d1cf371 100644
--- a/.github/workflows/deploy-server.yml
+++ b/.github/workflows/deploy-server.yml
@@ -78,6 +78,7 @@ jobs:
run: |
CPS=$(az vm list \
--resource-group ${{ secrets.AZURE_RESOURCE_GROUP }} \
+ --show-details \
--query "[?contains(name,'controlplane') && powerState=='VM running'].name" \
-o tsv 2>/dev/null | tr '\n' ',' | sed 's/,$//')
echo "Discovered CPs: $CPS"