mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-05-15 16:12:20 +02:00
Fixes in deployments & ci/cd, readme info
All checks were successful
Deploy NPM app / Deploy NPM (push) Successful in 1m3s
All checks were successful
Deploy NPM app / Deploy NPM (push) Successful in 1m3s
This commit is contained in:
@@ -1,23 +1,24 @@
|
||||
name: Deploy NPM app
|
||||
run-name: ${{ gitea.actor }} is deploying to PROD servers.
|
||||
on: [push, fork, pull]
|
||||
on: [ push, fork, pull ]
|
||||
|
||||
jobs:
|
||||
Deploy NPM:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- 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 run build
|
||||
pm2 restart ZLB
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- 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 }}."
|
||||
|
||||
Reference in New Issue
Block a user