Browse Source

💚artifact-save

main
Pierre 6 years ago
parent
commit
239cbbb19b
  1. 6
      .circleci/config.yml

6
.circleci/config.yml

@ -20,6 +20,7 @@ jobs:
paths: paths:
- node_modules - node_modules
key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} key: dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }}
artifact-save: artifact-save:
docker: docker:
- image: circleci/node:dubnium-browsers - image: circleci/node:dubnium-browsers
@ -31,10 +32,7 @@ jobs:
- dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }} - dependencies-{{ checksum "package.json" }}-{{ .Environment.CACHE_VERSION }}
# fallback to using the latest cache if no exact match is found # fallback to using the latest cache if no exact match is found
- dependencies- - dependencies-
- run:
name: Copy deployment artifacts to workspace
command: |
cp ./dist /tmp/server -r
- run: cp ./dist /tmp/server -r
- store_artifacts: - store_artifacts:
path: /tmp/server path: /tmp/server
- persist_to_workspace: - persist_to_workspace:

Loading…
Cancel
Save