chore: print coolify response body
CI / Backend · PHPUnit + Pint (push) Successful in 1m45s
CI / Frontend · ESLint + Vitest (push) Successful in 9m43s
CI / Mobile · Jest (push) Successful in 9m37s
CI / Déploiement · Coolify (push) Failing after 2s

This commit is contained in:
Azmog
2026-09-03 22:31:26 +02:00
parent 78f67da87f
commit 54a69c41d1
+11 -1
View File
@@ -100,4 +100,14 @@ jobs:
- name: Lancer le déploiement sur Coolify - name: Lancer le déploiement sur Coolify
run: | run: |
echo "Les tests sont verts, on déploie sur Coolify..." echo "Les tests sont verts, on déploie sur Coolify..."
curl -X GET -H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" "https://panel.cleanows.fr/api/v1/deploy?uuid=ak9cfyikwrdezkxcnm8gd89x&force=false" RESPONSE=$(curl -sS -w "\nHTTP_STATUS:%{http_code}" -X GET -H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" "https://panel.cleanows.fr/api/v1/deploy?uuid=ak9cfyikwrdezkxcnm8gd89x&force=false")
echo "Réponse de Coolify :"
echo "$RESPONSE"
# Vérifier si on a un code HTTP 200 (Succès)
if echo "$RESPONSE" | grep -q "HTTP_STATUS:200"; then
echo "Déploiement déclenché avec succès !"
else
echo "Erreur lors du déclenchement du déploiement."
exit 1
fi