From 9b5f2313ada57ebb74bba6e7cbbfc9f59397f83a Mon Sep 17 00:00:00 2001 From: Pierre FONTAINE Date: Thu, 5 Nov 2020 20:35:37 +0100 Subject: [PATCH] 8. Generating the documentation as a artefact --- .circleci/config.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a7feb70..4bd8732 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,6 +57,20 @@ jobs: keys: - npm-v1-dependencies-{{ checksum "yarn.lock" }} - run: yarn test:e2e + + generate-doc: + docker: *shared-docker + steps: + - checkout + - restore_cache: + keys: + - npm-v1-dependencies-{{ checksum "yarn.lock" }} + - run: yarn doc:build + - store_artifacts: + path: doc-server + destination: artifact-file + + workflows: version: 2 @@ -72,3 +86,7 @@ workflows: - postgres-test: requires: - build + - generate-doc: + requires: + - lint + - ci-test