From 281198413035bc7c231fbd25853eb2bbf55be528 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 24 Jul 2018 21:32:28 +0900 Subject: [PATCH] chore: store artifact of website (#2430) Store artifact of docs --- .circleci/config.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index cc2862b..bc41039 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: - store_artifacts: path: htdocs destination: htdocs - publish-docs: + docs: docker: - image: circleci/ruby:2.4-node env: @@ -45,17 +45,15 @@ jobs: paths: - ./node_modules - - run: npm run publish-docs + - run: npm run build + - run: npm run copy-to-docs + - run: npm run build:docs + - store_artifacts: + path: build + destination: docs workflows: version: 2 test: jobs: - test - publish-docs: - jobs: - - publish-docs: - filters: - branches: - ignore: /.*/ - tags: - only: /^v.*/ + - docs