Fix workflow YAML and improve CV section editing

This commit is contained in:
cesnimda
2026-03-23 22:24:48 +01:00
parent 73983526d3
commit 6acd9f3e15
3 changed files with 39 additions and 9 deletions
+14 -9
View File
@@ -76,12 +76,17 @@ jobs:
APP_BUILD_STAMP="$(date -u +'%Y-%m-%d %H:%M UTC')" \
./deploy/deploy.sh
docker compose ps
docker compose exec -T ai-service python -c "import time, urllib.request; deadline=time.time()+60; last=None
for _ in range(30):
try:
urllib.request.urlopen('http://127.0.0.1:8001/health', timeout=5).read()
raise SystemExit(0)
except Exception as exc:
last=exc
time.sleep(2)
raise last"
docker compose exec -T ai-service python - <<'PY'
import time
import urllib.request
last = None
for _ in range(30):
try:
urllib.request.urlopen('http://127.0.0.1:8001/health', timeout=5).read()
raise SystemExit(0)
except Exception as exc:
last = exc
time.sleep(2)
raise last
PY