Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix: Fix docz publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Jun 27, 2019
1 parent e0444bd commit 482e8a6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ jobs:
command: npm run copypackage
- run: npm run semantic-release

publish-docs:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- checkout
- run: npm run deploy-docs

workflows:
version: 2
build:
Expand All @@ -62,4 +70,8 @@ workflows:
- release:
context: org-global
requires:
- test
- test
- publish-docs:
context: org-global
requires:
- release
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
"dist": "cd dist && npm publish",
"docz:dev": "docz dev",
"docz:build": "docz build",
"deploy-docs": "gh-pages -d .docz/dist",
"deploy-docs": "npm run docz:build && gh-pages -d .docz/dist",
"lint": "eslint ./",
"preversion": "npm run docz:build && npm run deploy-docs",
"postversion": "pwd && cp -r package.json ../",
"semantic-release": "semantic-release",
"test": "npm run lint"
Expand Down

0 comments on commit 482e8a6

Please sign in to comment.