This commit is contained in:
Rizky 2023-10-16 20:53:17 +07:00
parent 674a39fdca
commit ec75bd048c
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
git reset --hard
git pull
bun run build
bun run deploy
bun run db-pull
pm2 restart prasi:4550

View File

@ -8,7 +8,7 @@
"build": "bun run --silent ./pkgs/core/build.ts",
"db-pull": "bun run --silent ./pkgs/core/db-pull.ts",
"prod": "bun run --silent ./pkgs/core/index.ts",
"local-prod": "bun run build && bun run deploy && bun run ./pkgs/core/index.ts",
"local-prod": "bun run build && bun run db-pull && bun run ./pkgs/core/index.ts",
"pull": "cd app/db && bun prisma db pull && bun prisma generate",
"pkgs-upgrade": "bun run --silent ./pkgs/core/upgrade.ts"
},