|
|
@ -16,11 +16,11 @@ steps: |
|
|
|
- bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems |
|
|
|
- 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 |
|
|
|
|
|
|
|
volumes: |
|
|
|
|
|
|
|
- name: dist |
|
|
|
|
|
|
|
path: ./_site |
|
|
|
|
|
|
|
|
|
|
|
- name: rsync |
|
|
|
volumes: |
|
|
|
image: drillster/drone-rsync |
|
|
|
- name: dist |
|
|
|
settings: |
|
|
|
host: |
|
|
|
source: _site/* |
|
|
|
path: ~/docs.hmcl.net |
|
|
|
target: ~/docs.hmcl.net |
|
|
|
|
|
|
|
recursive: true |
|
|
|
|
|
|
|
delete: true |
|
|
|
|
|
|
|