Skip to content

Commit

Permalink
chore(gh-pages): publish github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Dec 4, 2019
1 parent d1c72f5 commit 4715d16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- v1-dependencies-
- run: yarn install
- run: yarn semantic-release
- run: yarn build-storybook && yarn doc:html && yarn doc:json
- run: yarn doc:publish

workflows:
version: 2
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
"test:unit": "jest --coverage",
"cov:send": "codecov",
"watch": "run-s clean build:main && run-p \"build:main -- -w\" \"test:unit -- --watch\"",
"doc": "run-s doc:html && open-cli build/docs/index.html",
"doc:html": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --target ES6 --mode file --out build/docs",
"doc:json": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --target ES6 --mode file --json build/docs/typedoc.json",
"doc": "run-s doc:html && open-cli build/docs/api/index.html",
"doc:html": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --target ES6 --mode file --out build/docs/api",
"doc:json": "typedoc src/ --exclude \"**/+(__tests__|examples)/*\" --target ES6 --mode file --json build/docs/api/typedoc.json",
"doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
"clean": "trash build test",
"preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('geschichte must be installed with Yarn: https://yarnpkg.com/')\"",
"storybook": "start-storybook -p 6006",
"prepublishOnly": "run-s build",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook -o build/docs"
},
"engines": {
"node": ">=8.9"
Expand Down

0 comments on commit 4715d16

Please sign in to comment.