Skip to content

Commit

Permalink
Merge pull request #451 from IgniteUI/rkaraivanov/storybook-deployer
Browse files Browse the repository at this point in the history
build: Setup storybook-deployer pipeline
  • Loading branch information
kdinev authored Jul 27, 2022
2 parents c528b46 + d49184b commit dea3353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- name: Install and Build 🔧
run: |
npm install
npm run deploy-storybook -- --ci
npm run storybook:build
npm run deploy-storybook
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@
"test": "npm run build && wtr --coverage",
"test:watch": "npm run build && concurrently -k -r \"npm:watch-scss\" \"npm:watch-ts\" \"wtr --watch\"",
"storybook": "npm run build && concurrently -k -r \"npm:watch-scss\" \"npm:watch-ts\" \"npm:watch-meta\" \"wds -c .storybook/server.mjs\"",
"storybook:build": "npm run build && build-storybook",
"storybook:build": "npm run build && build-storybook -o ./storybook-static",
"build:typedoc:watch": "node scripts/build-typedoc.js watch",
"build:typedoc:serve": "node scripts/build-typedoc.js serve && concurrently -k -r \"npm:build:typedoc:watch\"",
"build:typedoc:ja": "set NODE_ENV=production && node scripts/build-typedoc.js buildJA",
"build:typedoc:en": "set NODE_ENV=production && node scripts/build-typedoc.js buildEN",
"deploy-storybook": "storybook-to-ghpages",
"deploy-storybook": "storybook-to-ghpages --ci --existing-output-dir=./storybook-static",
"prepare": "husky install"
},
"dependencies": {
Expand Down

0 comments on commit dea3353

Please sign in to comment.