think/scripts/deploy.sh

13 lines
120 B
Bash

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