think/bin/update.sh

12 lines
138 B
Bash
Raw Normal View History

2022-03-24 12:45:26 +08:00
#! /bin/bash
cd /apps/think
git checkout main
git pull
pnpm install
pnpm run build
2022-03-24 13:34:06 +08:00
pm2 restart @think/server
pm2 restart @think/client