think/scripts/update.sh

12 lines
136 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-28 13:54:31 +00:00
pm2 reload @think/server
pm2 reload @think/client