Update node.js.yml

This commit is contained in:
Ichitux
2026-03-17 11:16:31 +01:00
committed by GitHub
parent 5e7776c826
commit a1e91d813a

View File

@@ -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 }}