deploy sh5
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Bulut Kuru
2026-03-27 20:53:18 +03:00
parent 5ad61853b4
commit 8bd35c425d
2 changed files with 2 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ if ! grep -q '^APP_KEY=base64:' .env; then
exit 1 exit 1
fi fi
mkdir -p "$UPLOADS_DIR" mkdir -p "$UPLOADS_DIR"
chmod 2775 "$UPLOADS_DIR" 2>/dev/null || true chmod 2775 "$UPLOADS_DIR" 2>/dev/null || true

View File

@@ -46,6 +46,7 @@ docker rm -f bdc-api-test 2>/dev/null || true
docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" down --remove-orphans || true docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" down --remove-orphans || true
docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" up -d --build docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" up -d --build
echo "⏳ Container hazır olması bekleniyor..." echo "⏳ Container hazır olması bekleniyor..."
for i in {1..30}; do for i in {1..30}; do
if docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" ps --status running | grep -q "$CONTAINER"; then if docker compose -p "$COMPOSE_PROJECT" -f "$COMPOSE_FILE" ps --status running | grep -q "$CONTAINER"; then