Browse Source

build: clone depth 1

zkitefly-patch-1
Yuhui Huang 3 years ago
parent
commit
74f4cc8b12
  1. 10
      .drone.yml

10
.drone.yml

@ -2,8 +2,11 @@ kind: pipeline
type: docker type: docker
name: default name: default
clone:
depth: 1
steps: steps:
- name: jekyll-build - name: build
image: jekyll/jekyll:4.2.2 image: jekyll/jekyll:4.2.2
commands: commands:
- touch Gemfile.lock - touch Gemfile.lock
@ -14,13 +17,10 @@ steps:
- bundle install - bundle install
- bundle exec jekyll build - bundle exec jekyll build
- name: deploy-site - name: rsync
image: drillster/drone-rsync image: drillster/drone-rsync
settings: settings:
source: _site/* source: _site/*
target: ~/docs.hmcl.net target: ~/docs.hmcl.net
recursive: true recursive: true
delete: true delete: true
when:
branch: [master]
event: [push]

Loading…
Cancel
Save