Skip to content

Commit

Permalink
Improve triggering of storybook build
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnyroeller committed Aug 20, 2024
1 parent 5f5edb4 commit 242bdea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci --unsafe-perm
- run: npm run storybook:build
- run: npm run predeploy
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"predeploy": "run-s storybook:build",
"deploy": "gh-pages -d storybook-static",
"storybook": "NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" FAST_REFRESH=false storybook dev -p 9009",
"storybook:build": "NODE_OPTIONS=\"${NODE_OPTIONS} --openssl-legacy-provider\" storybook build --quiet"
"storybook:build": "storybook build"
},
"peerDependencies": {
"@mui/material": "^5.10.7",
Expand Down

0 comments on commit 242bdea

Please sign in to comment.