think/scripts/deploy.sh

13 lines
120 B
Bash
Raw Normal View History

2022-03-24 04:45:26 +00:00
#! /bin/bash
cd /apps/think
git checkout main
git pull
pnpm install
pnpm run build
pnpm run pm2
pm2 startup
pm2 save