fix: pipe 'yes' to db:push in deploy for non-interactive confirmation
This commit is contained in:
1 parent
3411dcfa9f
commit
233e88e911
1 file changed
+1
-1
@@ -47,7 +47,7 @@ jobs:
|
|||||||
git pull origin main
|
git pull origin main
|
||||||
/home/code/.bun/bin/bun install --frozen-lockfile
|
/home/code/.bun/bin/bun install --frozen-lockfile
|
||||||
/home/code/.bun/bin/bun --cwd apps/web run build
|
/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
|
/home/code/.bun/bin/bun run index
|
||||||
sudo systemctl restart mcpedia-web mcpedia-api mcpedia-mcp mcpedia-worker
|
sudo systemctl restart mcpedia-web mcpedia-api mcpedia-mcp mcpedia-worker
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|||||||
Reference in new issue
Block a user