From a413eb6aed18cf43946ed928777f0b2c5e6ee6d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B9=E9=A1=BA=E5=81=A5?= Date: Wed, 20 Oct 2021 02:12:17 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 ++--- 1 file 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 '// a 更新记录' ./public/index.html; echo "添加更新记录链接"; fi;