问题: - build-artifacts的when条件语法错误 - 导致步骤被取消 修复: - 调整when条件的缩进和格式
This commit is contained in:
+5
-4
@@ -198,10 +198,11 @@ steps:
|
|||||||
- /tmp/npm-cache:/root/.npm
|
- /tmp/npm-cache:/root/.npm
|
||||||
- /tmp/node-modules-cache:/woodpecker/src/node_modules
|
- /tmp/node-modules-cache:/woodpecker/src/node_modules
|
||||||
when:
|
when:
|
||||||
- event: push
|
event:
|
||||||
branch:
|
- push
|
||||||
- release
|
branch:
|
||||||
- release/**
|
- release
|
||||||
|
- release/**
|
||||||
|
|
||||||
# ============================================
|
# ============================================
|
||||||
# 阶段4: 部署到生产环境 (release分支)
|
# 阶段4: 部署到生产环境 (release分支)
|
||||||
|
|||||||
Reference in New Issue
Block a user