From d8f41e87b417da4b94d23244bf7032c58b0f953d Mon Sep 17 00:00:00 2001 From: sky121113 Date: Thu, 16 Apr 2026 16:31:42 +0800 Subject: [PATCH] fix: force no-cache build to ensure composer is installed in image --- .gitea/workflows/deploy-demo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy-demo.yaml b/.gitea/workflows/deploy-demo.yaml index 17c83e7..ea8291d 100644 --- a/.gitea/workflows/deploy-demo.yaml +++ b/.gitea/workflows/deploy-demo.yaml @@ -15,7 +15,8 @@ jobs: - name: Step 1 - Build & Deploy Containers run: | # 機器人現在是以「容器模式」預設執行的,我需要確保它能操作宿主機 Docker - WWWGROUP=1000 WWWUSER=1000 docker compose -f compose.yaml up -d --build --wait + WWWGROUP=1000 WWWUSER=1000 docker compose -f compose.yaml build --no-cache + WWWGROUP=1000 WWWUSER=1000 docker compose -f compose.yaml up -d --wait - name: Step 2 - Composer & NPM & Initialization run: |