think/bin/update.sh

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