|
|
|
@ -10,7 +10,16 @@ volumes:
|
|
|
|
host:
|
|
|
|
host:
|
|
|
|
path: /tmp/cache/visitor-new-api
|
|
|
|
path: /tmp/cache/visitor-new-api
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clone:
|
|
|
|
|
|
|
|
disable: true
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- name: clone
|
|
|
|
|
|
|
|
image: alpine/git
|
|
|
|
|
|
|
|
commands:
|
|
|
|
|
|
|
|
- git clone https://git.net.dadashe.cn/longge/visitor-node-api.git .
|
|
|
|
|
|
|
|
# - git checkout $DRONE_COMMIT
|
|
|
|
|
|
|
|
|
|
|
|
- name: restore-cache
|
|
|
|
- name: restore-cache
|
|
|
|
pull: if-not-exists
|
|
|
|
pull: if-not-exists
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
image: drillster/drone-volume-cache
|
|
|
|
|