Update .gitlab-ci.yml file
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user