From e24deda936b702479e8b7004ed64c6c9eb9c90b4 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Tue, 27 Feb 2018 21:46:56 -0700 Subject: [PATCH] added deeper cache support --- .circleci/config.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3d654278f..ad0a365da 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -74,12 +74,15 @@ jobs: - attach_workspace: at: ~/coralproject/talk - restore_cache: - key: build-cache + keys: + - build-cache-{{ .Branch }}-{{ .Revision }} + - build-cache-{{ .Branch }}- + - build-cache- - run: name: Build static assets command: yarn build - save_cache: - key: build-cache + key: build-cache-{{ .Branch }}-{{ .Revision }} paths: - ./node_modules/.cache/hard-source - persist_to_workspace: