260216:1431 4rd Deploy (Prepare CI/CD: Revise .gitea/workflow/deploy.yaml)
All checks were successful
Build and Deploy / deploy (push) Successful in 3m36s
All checks were successful
Build and Deploy / deploy (push) Successful in 3m36s
This commit is contained in:
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latest # ⚠️ ต้องตรงกับ Label ของ Runner ใน Gitea Settings (เช่น self-hosted)
|
||||
steps:
|
||||
- name: Deploy to QNAP via SSH
|
||||
uses: appleboy/ssh-action@v1.0.3
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
|
||||
# 1. Update Code
|
||||
echo "📂 Pulling latest code..."
|
||||
cd /share/np-dms/app/source
|
||||
cd /share/np-dms/app/source/lcbp3
|
||||
git pull origin main
|
||||
|
||||
# 2. Build Backend
|
||||
|
||||
Reference in New Issue
Block a user