Browse Source

8. Generating the documentation as a artefact

main
Pierre FONTAINE 6 years ago
parent
commit
9b5f2313ad
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -57,6 +57,20 @@ jobs:
keys: keys:
- npm-v1-dependencies-{{ checksum "yarn.lock" }} - npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:e2e - 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: workflows:
version: 2 version: 2
@ -72,3 +86,7 @@ workflows:
- postgres-test: - postgres-test:
requires: requires:
- build - build
- generate-doc:
requires:
- lint
- ci-test
Loading…
Cancel
Save