fix: add permissions fix for collectstatic
Deploy to Dev / deploy-dev (push) Has been cancelled Details

This commit is contained in:
Dev Server 2026-02-12 23:26:33 +03:00
parent d2d965d0e1
commit e2dbbf52f3
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +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
echo "✅ Dev deployment completed successfully"