HJ_Server/oneKeyStartPm2.sh
2023-12-15 20:20:46 +08:00

12 lines
184 B
Bash

git fetch origin dev && git reset --hard origin/dev && git pull
npm run build_linux
cp src/config.json dist/
pm2 del heijiao_msg_s0
cd dist && pm2 start js_pm2.config.js
pm2 save