Fix:Error handling deployment

This commit is contained in:
Mathis 2026-07-12 16:44:47 +02:00
parent 7d6f40237b
commit b591a1e144
2 changed files with 11 additions and 2 deletions

View file

@ -91,7 +91,7 @@ def run_mep_logic(author, commit_msg, branch="main"):
# 4. Notifier le bot que le déploiement est terminé pour les issues en attente
for attempt in range(6):
try:
requests.post("http://127.0.0.1:5001/deployment_complete", timeout=5)
requests.post("http://127.0.0.1:5001/deployment_complete", json={}, timeout=5)
break
except Exception:
if attempt < 5: