From 7f28dc007d0db858102b605f6732e8812e63601c Mon Sep 17 00:00:00 2001 From: zhiqiang feng Date: Mon, 26 Sep 2022 15:47:41 +0800 Subject: [PATCH] update cache --- .drone.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index af35b4d..ac18f6c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,23 +15,13 @@ clone: steps: - name: restore-cache image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache settings: restore: true mount: - ./node_modules - - - name: rebuild-cache - image: drillster/drone-volume-cache volumes: - name: cache path: /cache - settings: - rebuild: true - mount: - - ./node_modules - name: build image: reg.int.it2000.com.cn/library/node:14.20-bullseye @@ -44,7 +34,7 @@ steps: volumes: - name: cache host: - path: /opt/node/cache + path: /opt/node/cache/node_modules - name: certs host: path: /etc/ssl/certs