diff --git a/.drone.yml b/.drone.yml index 6086209..8d2cbeb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: settings: backend: "filesystem" restore: true - cache_key: "volume" + cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}' archive_format: "gzip" mount: - './editor/node_modules' @@ -49,7 +49,7 @@ steps: settings: backend: "filesystem" rebuild: true - cache_key: "volume" + cache_key: '{{ .Repo.Name }}_{{ checksum "editor/package.json" }}_{{ checksum "editor/package-lock.json" }}_{{ arch }}_{{ os }}' archive_format: "gzip" mount: - './editor/node_modules'