From b4e0e7e2f6424f7206ef67c443b0dac20bda87fa Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 8 Dec 2020 19:21:21 +0100 Subject: [PATCH] Change cache key for dependencies --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 9738047d..f0355b7f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,6 +25,7 @@ steps: endpoint: https://s3.fr-par.scw.cloud region: fr-par path_style: true + cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' mount: - '.cache' @@ -53,6 +54,7 @@ steps: endpoint: https://s3.fr-par.scw.cloud region: fr-par path_style: true + cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' mount: - '.cache' depends_on: @@ -109,6 +111,7 @@ steps: endpoint: https://s3.fr-par.scw.cloud region: fr-par path_style: true + cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' mount: - '.cache' @@ -178,6 +181,7 @@ steps: endpoint: https://s3.fr-par.scw.cloud region: fr-par path_style: true + cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}' mount: - '.cache'