think/bin/update.sh

12 lines
138 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
2022-03-24 05:34:06 +00:00
pm2 restart @think/server
pm2 restart @think/client