Compare commits

...

2 Commits

Author SHA1 Message Date
a82426be2b chore: update drone yml format
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-05-04 21:22:05 +08:00
9fbaa3f45b build: change bundle mirror 2022-05-04 21:13:22 +08:00

View File

@ -1,16 +1,22 @@
pipeline: kind: pipeline
jekyll-build: type: docker
name: default
steps:
- name: jekyll-build
image: jekyll/jekyll:4.2.2 image: jekyll/jekyll:4.2.2
commands: commands:
- touch Gemfile.lock - touch Gemfile.lock
- chmod a+w Gemfile.lock - chmod a+w Gemfile.lock
- chown -R jekyll:jekyll /drone - chown -R jekyll:jekyll /drone
- gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ - gem sources --add https://mirrors.tuna.tsinghua.edu.cn/rubygems/ --remove https://rubygems.org/
- bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
deploy-site: - name: deploy-site
image: drillster/drone-rsync image: drillster/drone-rsync
settings:
source: _site/* source: _site/*
target: ~/docs.hmcl.net target: ~/docs.hmcl.net
recursive: true recursive: true