From 4d9da13d8e194279b2661a3736bf4355197ed545 Mon Sep 17 00:00:00 2001 From: InkSoul Date: Sat, 12 Aug 2023 10:42:13 +0800 Subject: [PATCH] test --- hugobuild.drone.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hugobuild.drone.yml b/hugobuild.drone.yml index 8636b92..24eeaab 100644 --- a/hugobuild.drone.yml +++ b/hugobuild.drone.yml @@ -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