From 74f4cc8b12688f7826f549323b1ffa054e78e8c8 Mon Sep 17 00:00:00 2001 From: Yuhui Huang Date: Wed, 4 May 2022 21:38:52 +0800 Subject: [PATCH] build: clone depth 1 --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index a0c0542..55651c1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,8 +2,11 @@ kind: pipeline type: docker name: default +clone: + depth: 1 + steps: -- name: jekyll-build +- name: build image: jekyll/jekyll:4.2.2 commands: - touch Gemfile.lock @@ -14,13 +17,10 @@ steps: - bundle install - bundle exec jekyll build -- name: deploy-site +- name: rsync image: drillster/drone-rsync settings: source: _site/* target: ~/docs.hmcl.net recursive: true delete: true - when: - branch: [master] - event: [push]