deploy: change file permission
Déploiement API BETA / Tests extensions (push) Successful in 11m4s
Déploiement API BETA / Build et déploiement beta (push) Failing after 36s

This commit is contained in:
2026-05-15 18:53:52 +04:00
parent 35aa06b33b
commit f3b01adc5f
+6 -4
View File
@@ -73,13 +73,15 @@ jobs:
docker network inspect konstitisyon_network >/dev/null 2>&1 \ docker network inspect konstitisyon_network >/dev/null 2>&1 \
|| docker network create konstitisyon_network || docker network create konstitisyon_network
echo "==> Initialisation base de données"
[ -f database/data.db ] || cp database/data.sample.db database/data.db
echo "==> Permissions volumes"
chown -R 1000:1000 database uploads
echo "==> Démarrage Directus" echo "==> Démarrage Directus"
docker compose up -d docker compose up -d
echo "==> Logs Directus (30s)"
sleep 30
docker compose logs --tail=50 directus
echo "==> Vérification santé" echo "==> Vérification santé"
for i in $(seq 1 12); do for i in $(seq 1 12); do
if curl -sf http://localhost:8066/server/health | grep -q '"status":"ok"'; then if curl -sf http://localhost:8066/server/health | grep -q '"status":"ok"'; then