Added gitignore
Deploy Node App / deploy (push) Failing after 3s

This commit is contained in:
Gitea
2026-05-25 15:23:04 +05:30
commit 192e8fc79c
10 changed files with 1766 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Deploy Node App
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to VPS
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.PORT }}
script: |
cd /root/IR-Node-Setup
git pull origin main
npm install
pm2 restart IR-Node-Setup