Browse Source

chore: store artifact of website (#2430)

Store artifact of docs
pull/2431/head
Yoshiya Hinosawa 6 years ago committed by GitHub
parent
commit
2811984130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      .circleci/config.yml

18
.circleci/config.yml

@ -21,7 +21,7 @@ jobs:
- store_artifacts: - store_artifacts:
path: htdocs path: htdocs
destination: htdocs destination: htdocs
publish-docs: docs:
docker: docker:
- image: circleci/ruby:2.4-node - image: circleci/ruby:2.4-node
env: env:
@ -45,17 +45,15 @@ jobs:
paths: paths:
- ./node_modules - ./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: workflows:
version: 2 version: 2
test: test:
jobs: jobs:
- test - test
publish-docs: - docs
jobs:
- publish-docs:
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/

Loading…
Cancel
Save