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
|
- name: check_cache
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
commands:
|
||||||
- if [ -d ".git" ]; then
|
- if [ -d "/cache/" ]; then
|
||||||
echo "Cache exists,pulling newer commit"
|
echo "Cache exists,pulling newer commit"
|
||||||
git pull
|
git pull
|
||||||
else
|
else
|
||||||
|
@ -31,10 +31,10 @@ steps:
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
settings:
|
settings:
|
||||||
cache_to:
|
cache_to:
|
||||||
- .git
|
- cache
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
path: .git
|
path: /cache
|
||||||
|
|
||||||
volumes: #声明数据卷
|
volumes: #声明数据卷
|
||||||
- name: blog
|
- name: blog
|
||||||
|
|
Loading…
Reference in New Issue