Commit 3ee6b527 authored by JiangTJ's avatar JiangTJ 😋

Add tags

parent a247a531
Pipeline #76485446 failed with stage
in 5 minutes and 15 seconds
......@@ -6,17 +6,23 @@ stages:
run-test:
stage: test
script:
# init
# load data
- git clone https://github.com/cocobear/cocobear.github.io.git -b hexo --depth=1 --quiet --single-branch cocobear
- git clone https://github.com/theme-next/hexo-theme-next.git --depth=1 --quiet --single-branch next
# init
- yarn global add hexo-cli --silent
- hexo init test-dir --silent
- cp run-hexo.sh test-dir/
# scripts
- mkdir test-dir/scripts
- cp rm-filter.js test-dir/scripts/
- git clone https://github.com/cocobear/cocobear.github.io.git -b hexo --depth=1 --quiet --single-branch cocobear
- mv next/scripts/tags test-dir/scripts/tags
# posts
- cd test-dir
- git clone https://github.com/jiangtj-lab/hexo-many-posts.git --depth=1 --quiet source/_posts/skk
- mv ../cocobear/source/_posts source/_posts/cocobear
- yarn install --silent
# config
- hexo config permalink post/:title/
# 测试默认主题
......
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