From b21b3da0eecb7eb24c648730901602594cd0e6b7 Mon Sep 17 00:00:00 2001 From: Logan Date: Thu, 5 Nov 2020 20:02:43 +0100 Subject: [PATCH] Generating the documentation as a artefact --- .circleci/config.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7fcf510..404d651 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,6 +9,17 @@ jobs: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn global add node-gyp && yarn install + - run: + name: Creating Dummy Artifacts + command: echo "my artifact file" > /tmp/artifact-1; + mkdir /tmp/artifacts; + echo "my artifact files in a dir" > /tmp/artifacts/artifact-2; + - store_artifacts: + path: /tmp/artifact-1 + destination: doc-server + - store_artifacts: + path: /tmp/artifacts + - run: yarn doc:build - save_cache: paths: - ./node_modules