Update node.js.yml

This commit is contained in:
Ichitux
2026-03-17 16:06:02 +01:00
committed by GitHub
parent 52d04ef352
commit 3ce8096d63

View File

@@ -38,21 +38,3 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
deploy:
needs: build
runs-on: [self-hosted, linux]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- name: PM2 Deployment
uses: victorargento/pm2-deployment@0.1
with:
build: true
host: 192.168.1.102
username: root
port: 22
remote-path: /home/zouklambadabcn.com/public_html
pm2-id: ZLB
env:
DEPLOY_PASSWORD: ${{ secrets.DEPLOY_PASSWORD }}