mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2025-04-20 10:24:02 +08:00
chore: change gem source
This commit is contained in:
parent
73c09b154f
commit
5c84572b08
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user