test
continuous-integration/drone/push Build is failing Details

main
InkSoul 2023-08-12 10:42:13 +08:00
parent 07f9001aab
commit 4d9da13d8e
1 changed files with 3 additions and 3 deletions

View File

@ -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