Skip to content

Commit

Permalink
modifico el script que inicia la app
Browse files Browse the repository at this point in the history
  • Loading branch information
martinchogimenez committed Apr 8, 2024
1 parent 6acc294 commit c6ba62a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/CI_Pipeline-DEV.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,12 @@ jobs:
npm init -y # Initialize package.json with default values
sudo npm install -g express pm2
npm install
- name: Detener la aplicación Node si está corriendo
run: |
sudo pm2 stop myApp || true
- name: Start Node Service
run: |
sleep 5 # Espera 5 segundos
sudo pm2 start /opt/appDir/app.js --name "myApp"
sudo $(which pm2) start -f app.js
- name: Check if Application is Running
run: |
Expand Down

0 comments on commit c6ba62a

Please sign in to comment.