test
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
07f9001aab
commit
4d9da13d8e
|
@ -10,7 +10,7 @@ steps:
|
|||
- name: check_cache
|
||||
image: alpine/git
|
||||
commands:
|
||||
- if [ -d ".git" ]; then
|
||||
- if [ -d "/cache/" ]; then
|
||||
echo "Cache exists,pulling newer commit"
|
||||
git pull
|
||||
else
|
||||
|
@ -31,10 +31,10 @@ steps:
|
|||
image: drillster/drone-volume-cache
|
||||
settings:
|
||||
cache_to:
|
||||
- .git
|
||||
- cache
|
||||
volumes:
|
||||
- name: cache
|
||||
path: .git
|
||||
path: /cache
|
||||
|
||||
volumes: #声明数据卷
|
||||
- name: blog
|
||||
|
|
Loading…
Reference in New Issue