fix: workflow fix

This commit is contained in:
root 2026-02-13 20:27:13 +05:00
parent a5909d757e
commit 09411cdd7a
2 changed files with 8 additions and 3 deletions

5
.cursor/worktrees.json Normal file
View File

@ -0,0 +1,5 @@
{
"setup-worktree": [
"npm install"
]
}

View File

@ -94,9 +94,9 @@ jobs:
# Basic disk space check (do not touch volumes)
echo "=== DISK SPACE CHECK ==="
df -h
AVAILABLE_SPACE=\$(df -BG / | tail -1 | awk '{print \$4}' | sed 's/G//')
if [ "\$AVAILABLE_SPACE" -lt 5 ]; then
echo "⚠️ Low disk space: \${AVAILABLE_SPACE}GB available. Cleaning up dangling images..."
AVAILABLE_SPACE=$(df -BG / | tail -1 | awk '{print $4}' | sed 's/G//')
if [ "$AVAILABLE_SPACE" -lt 5 ]; then
echo "⚠️ Low disk space: ${AVAILABLE_SPACE}GB available. Cleaning up dangling images..."
docker system prune -af --volumes=false || true
docker image prune -af || true
df -h