mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-05-15 16:32:20 +02:00
Changes & Menus, enabled Gitea Workflow
Some checks failed
Deploy NPM app / Explore-Gitea-Actions (push) Has been cancelled
Some checks failed
Deploy NPM app / Explore-Gitea-Actions (push) Has been cancelled
This commit is contained in:
26
.gitea/workflows/deploy.yaml
Normal file
26
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Deploy NPM app
|
||||
run-name: ${{ gitea.actor }} is deploying to PROD servers.
|
||||
on: [push, fork, pull]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: 422239c5937c
|
||||
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 }}."
|
||||
Reference in New Issue
Block a user