mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 01:24:25 +08:00
ci(test): 修改测试分支的构建触发条件
- 将构建触发条件从特定用户排除改为特定事件触发 - 现在只在合并请求事件时触发构建
This commit is contained in:
parent
a0cf6e63b6
commit
1ce39f6f17
@ -5,7 +5,7 @@ stages:
|
|||||||
publish:
|
publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == "test" && $CI_COMMIT_AUTHOR != "Project Pipeline Bot"'
|
- if: '$CI_COMMIT_BRANCH == "test" && $CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
script:
|
script:
|
||||||
- echo "🔧 授予 gradlew 执行权限..."
|
- echo "🔧 授予 gradlew 执行权限..."
|
||||||
- chmod +x gradlew
|
- chmod +x gradlew
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user