fix: pipe 'yes' to db:push in deploy for non-interactive confirmation

This commit is contained in:
asepharyana
2026-08-20 23:45:05 +07:00
parent 3411dcfa9f
commit 233e88e911
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
git pull origin main
/home/code/.bun/bin/bun install --frozen-lockfile
/home/code/.bun/bin/bun --cwd apps/web run build
/home/code/.bun/bin/bun --cwd packages/db run db:push || echo "db:push warning (column may already exist)"
yes | /home/code/.bun/bin/bun --cwd packages/db run db:push || echo "db:push warning (column may already exist)"
/home/code/.bun/bin/bun run index
sudo systemctl restart mcpedia-web mcpedia-api mcpedia-mcp mcpedia-worker
sleep 3