|
|
@ -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 |
|
|
|