fix(deploy): 修正正式環境部署漏掉 storage 排除清單導致檔案遺失的問題

This commit is contained in:
2026-01-29 09:51:36 +08:00
parent fc59c86305
commit 8cb95e1a56

View File

@@ -129,8 +129,8 @@ jobs:
rsync -avz --delete \ rsync -avz --delete \
--exclude='.git' \ --exclude='.git' \
--exclude='.env' \ --exclude='.env' \
--exclude='node_modules' \
--exclude='vendor' \ --exclude='vendor' \
--exclude='storage' \
--exclude='public/build' \ --exclude='public/build' \
-e "ssh -p 2224 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \ -e "ssh -p 2224 -i ~/.ssh/id_rsa_prod -o StrictHostKeyChecking=no" \
./ root@erp.koori.tw:/var/www/star-erp/ ./ root@erp.koori.tw:/var/www/star-erp/