diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 038fd84..8007d77 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -46,23 +46,13 @@ jobs: steps: - name: PM2 Deployment - # You may pin to the exact commit or the version. - # uses: victorargento/pm2-deployment@9f1857537a23be1e6eb173bc5394a49c6e3e3e1a uses: victorargento/pm2-deployment@0.1 with: - # - build: true # optional, default is false - # Remote host + build: true host: 192.168.1.102 - # Username to login username: root - # SSH port - port: 22 - # SSH password - # Removed direct password input for security, using environment variable instead - secrets: - DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }} - # Remote path where the files are going to be copied + port: 22 remote-path: /home/zouklambadabcn.com/public_html - # PM2 ID or Name of the process pm2-id: ZLB + env: + DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}