From f85f06f3e11a5cdbe2c522263dea26eddbc78fe4 Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 13 Feb 2026 14:55:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=20deploy.yaml=20?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=20YAML=20=E7=B8=AE=E6=8E=92=E9=8C=AF?= =?UTF-8?q?=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 2e638f5..ee74a76 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -83,14 +83,14 @@ jobs: echo "容器狀態:" && docker ps --filter "name=koori-erp-laravel" - - name: Step 4 - Composer & NPM Build - uses: appleboy/ssh-action@master - with: - host: 192.168.0.103 - port: 22 - username: amba - key: ${{ secrets.DEMO_SSH_KEY }} - envs: GITEA_SHA + - name: Step 4 - Composer & NPM Build + uses: appleboy/ssh-action@master + with: + host: 192.168.0.103 + port: 22 + username: amba + key: ${{ secrets.DEMO_SSH_KEY }} + envs: GITEA_SHA script: | docker exec -u 1000:1000 -w /var/www/html star-erp-laravel sh -c " # 0. 更新版本號 (使用 Gitea 提供的 SHA)