chore: change gem source

This commit is contained in:
Yuhui Huang 2022-05-04 21:03:18 +08:00
parent 73c09b154f
commit 5c84572b08

View File

@ -5,12 +5,13 @@ pipeline:
- 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 update --system - gem update --system
- gem install bundler - gem install bundler
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
deploy: deploy-site:
image: drillster/drone-rsync image: drillster/drone-rsync
source: _site/* source: _site/*
target: ~/docs.hmcl.net target: ~/docs.hmcl.net