From 1ee4bef651dae5522a13732279b24e8b7b6f9b36 Mon Sep 17 00:00:00 2001 From: Yuhui Huang Date: Wed, 4 May 2022 22:21:37 +0800 Subject: [PATCH] build: host volume test --- .drone.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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