fix: make collectstatic non-blocking
Deploy to Dev / deploy-dev (push) Failing after 24s Details

This commit is contained in:
Dev Server 2026-02-12 23:26:52 +03:00
parent e2dbbf52f3
commit 84668ca1e1
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ jobs:
docker compose exec -T web python manage.py migrate || true
echo "📁 Collecting static files (if needed)..."
docker compose exec -T web sh -c "chmod -R 777 /app/staticfiles 2>/dev/null || mkdir -p /app/staticfiles && chmod -R 777 /app/staticfiles" || true
docker compose exec -T web python manage.py collectstatic --noinput || true
docker compose exec -T web python manage.py collectstatic --noinput --clear || echo "⚠️ collectstatic failed, but continuing..."
echo "✅ Dev deployment completed successfully"
echo " You can continue working directly on the server"