think/bin/deploy.sh

13 lines
120 B
Bash
Executable File

#! /bin/bash
cd /apps/think
git checkout main
git pull
pnpm install
pnpm run build
pnpm run pm2
pm2 startup
pm2 save