diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 98e7e569..c28da1c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,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: