summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author方顺健 <[email protected]>2021-10-20 02:12:17 +0000
committer方顺健 <[email protected]>2021-10-20 02:12:17 +0000
commita413eb6aed18cf43946ed928777f0b2c5e6ee6d6 (patch)
tree44db18fc11c94b2029a96817f5f2c281dcb4d3d9
parent56e30dfe47ce582c920c000e31ccafbe4a0db951 (diff)
Update .gitlab-ci.yml file
-rw-r--r--.gitlab-ci.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 763bd17b..5e8b82a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,3 @@
-job_name:
- variables:
- CI_DEBUG_TRACE: "true"
# 自定义生命周期
stages:
- gen_git-log
@@ -18,6 +15,8 @@ before_script:
- export CNUI_TAG=$(date +%Y%m%d%H%M%S)
generate_git-log:
+ variables:
+ CI_DEBUG_TRACE: "true"
stage: gen_git-log
script:
- if (( `grep git-log.html ./public/index.html | wc -l` == 0 )); then sed -i '/<body>/ a <a style="position:fixed;bottom:20px;left:40px;z-index:999;color:white;" target="_blank" href="./git-log.html">更新记录</a>' ./public/index.html; echo "添加更新记录链接"; fi;