From 1696f81a84a9feaaf4ff4819a933bb1edafe7ca7 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 9 Jan 2026 16:18:21 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=83=A8=E7=BD=B2=E8=85=B3=E6=9C=AC?= =?UTF-8?q?=E5=84=AA=E5=8C=96=E7=9B=AE=E9=8C=84=E5=BB=BA=E7=AB=8B=E8=88=87?= =?UTF-8?q?=E6=AC=8A=E9=99=90=E8=A8=AD=E5=AE=9A=EF=BC=8C=E6=94=B9=E7=94=A8?= =?UTF-8?q?=20sudo=20install?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index b77a899..aecbcbb 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -22,7 +22,7 @@ jobs: run: | apt-get update && apt-get install -y rsync # 2. 建立目錄 - mkdir -p /koori-erp + sudo install -d -o 1000 -g 1000 -m 775 /koori-erp # 3. 檢查目前到底在哪裡,裡面有什麼 (這能幫我們 debug) @@ -30,14 +30,14 @@ jobs: echo "目錄下的檔案有:" ls -F + rsync -artv --delete \ --exclude='.git' \ --exclude='node_modules' \ --exclude='vendor' \ --exclude='storage' \ ./ /koori-erp/ - sudo chmod -R 777 /koori-erp - + echo "同步後的目標目錄內容:" ls -la /koori-erp