Commit a0f2e667 authored by JiangTJ's avatar JiangTJ 😋

Fix hexo-theme-suka

parent 47814875
Pipeline #76135089 passed with stage
in 8 minutes and 53 seconds
......@@ -8,7 +8,7 @@ run-test:
script:
# init
- yarn global add hexo-cli --silent
- hexo init test-dir
- hexo init test-dir --silent
- cp run-hexo.sh test-dir/
- cd test-dir
- git clone https://github.com/jiangtj-lab/hexo-many-posts.git --depth=1 --quiet source/_posts/skk
......@@ -17,7 +17,18 @@ run-test:
# 测试默认主题
- sh run-hexo.sh
- sh run-hexo.sh
#- sh run-hexo.sh
# 测试hexo-theme-suka
- rm -rf themes/*
- git clone https://github.com/SukkaW/hexo-theme-suka.git themes/hexo-theme-suka --quiet --single-branch
- hexo config theme hexo-theme-suka
- cd themes/hexo-theme-suka
- yarn install --silent
- cd ../../
- sh run-hexo.sh
- sh run-hexo.sh
#- sh run-hexo.sh
# 测试hexo-theme-cake
- rm -rf themes/*
......@@ -25,7 +36,7 @@ run-test:
- hexo config theme hexo-theme-cake
- sh run-hexo.sh
- sh run-hexo.sh
- sh run-hexo.sh
#- sh run-hexo.sh
# 测试hexo-theme-next
- rm -rf themes/*
......@@ -33,15 +44,4 @@ run-test:
- hexo config theme hexo-theme-next
- sh run-hexo.sh
- sh run-hexo.sh
- sh run-hexo.sh
# 测试hexo-theme-suka
- rm -rf themes/*
- git clone https://github.com/SukkaW/hexo-theme-suka.git themes/hexo-theme-suka --quiet --single-branch
- hexo config theme hexo-theme-suka
- cd themes/suka
- yarn install --silent
- cd ../../
- sh run-hexo.sh
- sh run-hexo.sh
- sh run-hexo.sh
#- sh run-hexo.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment