chore: 調整部署腳本權限順序,將 chmod 777 移至同步後
All checks were successful
Koori-ERP-Deploy-System / deploy-demo (push) Successful in 33s
Koori-ERP-Deploy-System / deploy-production (push) Has been skipped

This commit is contained in:
2026-01-09 16:01:15 +08:00
parent 589932595e
commit 209581e535

View File

@@ -23,7 +23,7 @@ jobs:
apt-get update && apt-get install -y rsync
# 2. 建立目錄
mkdir -p /koori-erp
sudo chmod 777 /koori-erp
# 3. 檢查目前到底在哪裡,裡面有什麼 (這能幫我們 debug)
echo "目前目錄是: $(pwd)"
@@ -37,7 +37,7 @@ jobs:
--exclude='storage' \
./ /koori-erp/
chown -R 1000:1000 /koori-erp
sudo chmod 777 /koori-erp
echo "同步後的目標目錄內容:"
ls -la /koori-erp