From bb0dc2d26a67fe819b5ba6d35a47f402801ec1c5 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 15 Mar 2022 12:32:56 +0700 Subject: [PATCH] fixed volumes config --- .drone.yml | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index bb40e9d1..077ee2b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,15 +9,17 @@ platform: steps: - name: restore-cache image: drillster/drone-volume-cache - restore: true when: branch: - master - develop - mount: - - ./node_modules + settings: + restore: true + mount: + - ./node_modules volumes: - - /tmp/cache:/cache + - name: cache + path: /cache - name: build-master image: plugins/docker when: @@ -78,8 +80,15 @@ steps: branch: - master - develop - rebuild: true - mount: - - ./node_modules + settings: + rebuild: true + mount: + - ./node_modules volumes: - - /tmp/cache:/cache + - name: cache + path: /cache + +volumes: + - name: cache + host: + path: /tmp/cache