Files
lambada-fiesta-live/.gitea/workflows/deploy.yaml
Antoni Nuñez Romeu c9d4621aaf
All checks were successful
Deploy NPM app / Deploy NPM (push) Successful in 3m50s
Hotfixing gitea ci/cd
2026-03-19 17:39:58 +01:00

26 lines
905 B
YAML

name: Deploy NPM app
run-name: ${{ gitea.actor }} is deploying to PROD servers.
on: [push, fork, pull]
jobs:
Deploy NPM:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: SSH to remote server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd /home/zouklambadabcn.com/public_html/
git pull
npm install
npm run build
pm2 restart ZLB
- run: echo "🍏 This job's status is ${{ job.status }}."