From c8103735b742b89e0ecb5433ef7e7c410bdf64e5 Mon Sep 17 00:00:00 2001 From: shizhendong Date: Fri, 25 Jun 2021 10:50:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20git-log.html=20?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E4=B9=B1=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0a843768..584c0e65 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,9 +18,9 @@ generate_git-log: script: - if (( `grep git-log.html ./public/index.html | wc -l` == 0 )); then sed -i '// a 更新记录' ./public/index.html; echo "添加更新记录链接"; fi; - echo "最近的100个提交记录" - - echo "
" > ./public/git-log.html
+    - echo "
" > ./public/git-log.html
     - "git log -100 --pretty=format:'%ad : %s' >> ./public/git-log.html"
-    - echo "
" >> ./public/git-log.html + - echo "
" >> ./public/git-log.html - echo "处理 git-log.html 结束" artifacts: paths: