fix: 確保部署環境安裝 rsync 與 openssh-client
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Failing after 39s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-09 10:59:57 +08:00
parent 91829ac90a
commit 2711675924

View File

@@ -20,6 +20,7 @@ jobs:
# 2. 將更新過的檔案同步到 amba 實體路徑 (重點在此)
- name: Sync to Amba Folder
run: |
apt-get update && apt-get install -y rsync openssh-client
rsync -avz --delete --exclude='.git' --exclude='node_modules' --exclude='vendor' ./ /home/amba/koori-erp
- name: Deploy to 103 Demo