From 6e66ad41125176adbc4ad2b6e43352bef8032b7c Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 17 Jan 2021 11:21:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9Aartifact-save=202?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0309ac..840b3e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,7 +20,7 @@ jobs: paths: - node_modules key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} - + artifact-save: docker: - image: circleci/node:dubnium-browsers @@ -32,17 +32,20 @@ jobs: - dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} # fallback to using the latest cache if no exact match is found - dependencies- - - run: cp ./dist /tmp/server -r + - run: + name: Copy deployment artifacts to workspace + command: | + cp ./dist /tmp/server -r - store_artifacts: - path: /tmp/server + path: /tmp/server - persist_to_workspace: - root: /tmp - paths: + root: /tmp + paths: - server - save_cache: - paths: - - node_modules - key: v1-dependencies-{{ checksum "package.json" }} + paths: + - node_modules + key: v1-dependencies-{{ checksum "package.json" }} netlifly-deploy: docker: