mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-27 16:14:32 +08:00
ci:简化 reset阶段的配置
-移除了 publish 阶段的依赖 - 删除了 CI_COMMIT_MESSAGE 的正则表达式检查 - 精简了 script部分的内容
This commit is contained in:
parent
0f1a0b98f4
commit
0bccdc0952
@ -78,10 +78,9 @@ publish:
|
||||
# 🔄 重建 test 分支
|
||||
reset:
|
||||
stage: reset
|
||||
needs: [ "publish" ]
|
||||
image: alpine:latest
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_MESSAGE !~ /^ci:|^chore:|^\[no-publish\]/'
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
script:
|
||||
- set -euo pipefail
|
||||
- apk add --no-cache git
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user