From 0852a7e48061dc550845db4903c2fe5d0f254f4d Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 17 Jan 2022 17:14:47 +0700 Subject: [PATCH] (nextjs) fixed cache path --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 05e87508..0dbce4f4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,14 +16,10 @@ steps: settings: backend: "filesystem" restore: true - filesystem_cache_root: "/tmp" cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' archive_format: "gzip" mount: - '/app/node_modules' - volumes: - - name: cache - path: /tmp - name: build-master image: plugins/docker when: @@ -74,3 +70,6 @@ steps: from_secret: global_docker_registry repo: from_secret: docker_repo +volumes: + - name: cache + path: /tmp/drone-cache