diff --git a/.drone.yml b/.drone.yml index 55651c1..8d9b563 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,11 +16,11 @@ steps: - bundle config mirror.https://rubygems.org https://mirrors.tuna.tsinghua.edu.cn/rubygems - bundle install - bundle exec jekyll build + volumes: + - name: dist + path: ./_site -- name: rsync - image: drillster/drone-rsync - settings: - source: _site/* - target: ~/docs.hmcl.net - recursive: true - delete: true +volumes: +- name: dist + host: + path: ~/docs.hmcl.net