From 5c84572b085ebaba7ff9cd88cff8775f3ef02d66 Mon Sep 17 00:00:00 2001 From: Yuhui Huang Date: Wed, 4 May 2022 21:03:18 +0800 Subject: [PATCH] chore: change gem source --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 9a60ab2..bdad22b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,12 +5,13 @@ pipeline: - touch Gemfile.lock - chmod a+w Gemfile.lock - chown -R jekyll:jekyll /drone + - gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ - gem update --system - gem install bundler - bundle install - bundle exec jekyll build - deploy: + deploy-site: image: drillster/drone-rsync source: _site/* target: ~/docs.hmcl.net