fix: fix YAML syntax error in deploy step network verification
Deploy Dashboard (Dev) / Frontend Tests (push) Has been cancelled
Deploy Dashboard (Dev) / Deploy to Dev (push) Has been cancelled
Deploy Dashboard (Dev) / Backend Tests (push) Has been cancelled

- Replace multi-line python3 -c with single-line to avoid YAML parser issue

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Gan, Jimmy
2026-05-08 00:15:22 +08:00
parent 4bf646a4b3
commit e12a3930fe
+1 -10
View File
@@ -244,16 +244,7 @@ jobs:
# Verify both connections # Verify both connections
echo "=== Network connections ===" echo "=== Network connections ==="
docker inspect nas-dashboard-dev --format '{{json .NetworkSettings.Networks}}' | python3 -c " docker inspect nas-dashboard-dev --format '{{json .NetworkSettings.Networks}}' | python3 -c 'import json,sys;nets=json.load(sys.stdin);[print(f" Connected to {n}") for n in nets];assert "nas-dashboard_internal" in nets and "gitea_gitea" in nets, "Missing required network";print("All network connections established")'
import json,sys
nets = json.load(sys.stdin)
for n in nets:
print(f' ✅ Connected to {n}')
if 'nas-dashboard_internal' not in nets or 'gitea_gitea' not in nets:
print('❌ Not connected to required networks')
sys.exit(1)
print('✅ All network connections established')
"
- name: Wait for container to be healthy - name: Wait for container to be healthy
run: | run: |