mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-05-15 15:32:19 +02:00
Update node.js.yml
This commit is contained in:
18
.github/workflows/node.js.yml
vendored
18
.github/workflows/node.js.yml
vendored
@@ -46,23 +46,13 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: PM2 Deployment
|
- name: PM2 Deployment
|
||||||
# You may pin to the exact commit or the version.
|
|
||||||
# uses: victorargento/pm2-deployment@9f1857537a23be1e6eb173bc5394a49c6e3e3e1a
|
|
||||||
uses: victorargento/pm2-deployment@0.1
|
uses: victorargento/pm2-deployment@0.1
|
||||||
with:
|
with:
|
||||||
#
|
build: true
|
||||||
build: true # optional, default is false
|
|
||||||
# Remote host
|
|
||||||
host: 192.168.1.102
|
host: 192.168.1.102
|
||||||
# Username to login
|
|
||||||
username: root
|
username: root
|
||||||
# SSH port
|
port: 22
|
||||||
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
|
|
||||||
remote-path: /home/zouklambadabcn.com/public_html
|
remote-path: /home/zouklambadabcn.com/public_html
|
||||||
# PM2 ID or Name of the process
|
|
||||||
pm2-id: ZLB
|
pm2-id: ZLB
|
||||||
|
env:
|
||||||
|
DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}
|
||||||
|
|||||||
Reference in New Issue
Block a user