Skip to content

An open-source, faster Devin alternative

TypeScript

fix for deploy indentation

Brian Reardon79eda0884529
diff --git a/.github/workflows/deploy-worker.yml b/.github/workflows/deploy-worker.yml
index 2dcc1cc1..5e6c532a 100644
--- a/.github/workflows/deploy-worker.yml
+++ b/.github/workflows/deploy-worker.yml
@@ -79,15 +79,14 @@ jobs:
# Get all worker private IPs from the control plane API
WORKER_IPS=$(curl -sf -H "X-API-Key: $API_KEY" http://localhost:8080/api/workers \
| python3 -c "
- import json, sys, re
- workers = json.load(sys.stdin)
- for w in workers:
- addr = w.get(\"http_addr\", \"\")
- # Extract IP from http://10.200.1.5:8081
- m = re.search(r\"//([^:]+)\", addr)
- if m:
- print(m.group(1))
- ")
+import json, sys, re
+workers = json.load(sys.stdin)
+for w in workers:
+ addr = w.get('http_addr', '')
+ m = re.search(r'//([^:]+)', addr)
+ if m:
+ print(m.group(1))
+")
if [ -z "$WORKER_IPS" ]; then
echo "ERROR: No workers found"