mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-05-15 16:12:20 +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
@@ -38,21 +38,3 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- 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 }}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user