HJ_Server/oneKeyStartPm2.sh

10 lines
163 B
Bash

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