ci: 构建任务改为手动触发,避免推送时自动执行
This commit is contained in:
+3
-3
@@ -30,9 +30,9 @@ stages:
|
||||
# ==========================================
|
||||
.frontend_build:
|
||||
stage: build-frontend
|
||||
only:
|
||||
- master
|
||||
- tags
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_TAG
|
||||
when: manual
|
||||
cache:
|
||||
# Node 依赖缓存(基于 package-lock.json 变更)
|
||||
- key:
|
||||
|
||||
Reference in New Issue
Block a user