Skip to content

Commit

Permalink
Ci Ventas Dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nhay2008 authored Apr 3, 2024
1 parent a53ac74 commit af4012f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Ci Ventas Dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
username: ${{ env.EC2_USERNAME }}
key: ${{ env.EC2_SSH_KEY }}
script: |
cd /opt/ms-cobranzas-dev-app
cd /opt/ms-ventas-dev-app
sudo npm install express pm2
- name: Restart or Start app.js
uses: appleboy/ssh-action@master
Expand All @@ -37,7 +37,7 @@ jobs:
username: ${{ env.EC2_USERNAME }}
key: ${{ env.EC2_SSH_KEY }}
script: |
cd /opt/ms-cobranzas-dev-app
cd /opt/ms-ventas-dev-app
sudo pm2 restart app.js || sudo pm2 start -f app.js
- name: Check service status
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit af4012f

Please sign in to comment.