From 958e0815abc74622ebdb6cb8a0fb29923b81c95b Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Mon, 17 Jan 2022 17:21:06 +0700 Subject: [PATCH] (nextjs) fixed cache path: added restore step --- .drone.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index ead11577..5d9caba1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -74,18 +74,18 @@ steps: repo: from_secret: docker_repo - name: rebuild-cache-with-filesystem - image: meltwater/drone-cache:dev - pull: true - settings: - backend: "filesystem" - rebuild: true - cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' - archive_format: "gzip" - mount: - - '/app/node_modules' - volumes: - - name: cache - path: /tmp/cache + image: meltwater/drone-cache:dev + pull: true + settings: + backend: "filesystem" + rebuild: true + cache_key: '{{ .Repo.Name }}_{{ checksum "package.json" }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' + archive_format: "gzip" + mount: + - '/app/node_modules' + volumes: + - name: cache + path: /tmp/cache volumes: - name: cache temp: {}