Merge branch 'dev' into 'main'

Fix: MEP auto v3

See merge request Omega_Kube/kuby!32
This commit is contained in:
Gameur 2026-06-05 18:00:05 +02:00
commit c72451e0b7

View file

@ -82,7 +82,10 @@ def run_mep_logic(author, commit_msg, branch="main"):
send_discord_log("VALIDÉ", msg, 3066993, author, commit_msg)
# 3. PM2 (Appelé après le message pour éviter que le kill du serv ne bloque l'envoi)
subprocess.run(f"/home/discord/.nvm/versions/node/v24.15.0/bin/pm2 restart {PROCESS_NAME}", shell=True, check=True, capture_output=True)
subprocess.run(
f"source /home/discord/.nvm/nvm.sh && pm2 restart {PROCESS_NAME}",
shell=True, check=True, capture_output=True, executable="/bin/bash"
)
except Exception as e:
error_msg = f"❌ **ERREUR de déploiement**\n```python\n{str(e)}\n```"