think/scripts/deploy.sh

13 lines
120 B
Bash
Raw Permalink 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
pnpm run pm2
pm2 startup
pm2 save