alissaild
This commit is contained in:
@ -30,14 +30,14 @@ jobs:
|
||||
git reset --hard origin/main
|
||||
|
||||
- name: Install deps
|
||||
run: npm install
|
||||
run: npm install --include=dev
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
export NODE_ENV=stag
|
||||
npm run swagger
|
||||
npm run build
|
||||
npx tsc
|
||||
|
||||
- name: Reload PM2
|
||||
run: |
|
||||
ssh -o StrictHostKeyChecking=no root@172.21.0.1 "/usr/bin/pm2 reload saude-svc-user || /usr/bin/pm2 start /home/app/saude/ecosystem.config.js --only saude-svc-user"
|
||||
ssh -o StrictHostKeyChecking=no root@172.21.0.1 "/usr/bin/pm2 reload saude-svc-user || /usr/bin/pm2 start /home/app/saude/ecosystem.config.js --only saude-svc-user"
|
||||
Reference in New Issue
Block a user