From afc462c46c7e64f5ecad173bcee714b283ac65df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Sun, 29 Mar 2026 17:53:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=BF=AE=E5=A4=8Dwhen=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E8=AF=AD=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题: - build-artifacts的when条件语法错误 - 导致步骤被取消 修复: - 调整when条件的缩进和格式 --- .woodpecker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 36a6023..a5593cf 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -198,10 +198,11 @@ steps: - /tmp/npm-cache:/root/.npm - /tmp/node-modules-cache:/woodpecker/src/node_modules when: - - event: push - branch: - - release - - release/** + event: + - push + branch: + - release + - release/** # ============================================ # 阶段4: 部署到生产环境 (release分支)