From 91d1c9eef06ec7f64912e634bd73487f1afad689 Mon Sep 17 00:00:00 2001 From: Nhay2008 <159199331+Nhay2008@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:31:45 -0300 Subject: [PATCH] cobranzas_dev ci.yml --- .github/workflows/cobranzas_dev ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/cobranzas_dev ci.yml b/.github/workflows/cobranzas_dev ci.yml index a762a1c..d6c5cd3 100644 --- a/.github/workflows/cobranzas_dev ci.yml +++ b/.github/workflows/cobranzas_dev ci.yml @@ -58,6 +58,15 @@ jobs: cd /opt/ms-cobranzas-dev-app sudo npm install express pm2 + - name: Instalar PM2 + uses: appleboy/ssh-action@master + with: + host: ${{ env.EC2_HOST }} + username: ${{ env.EC2_USERNAME }} + key: ${{ env.EC2_SSH_KEY }} + script: | + sudo npm install -g pm2 + - name: Start service uses: appleboy/ssh-action@master with: