Skip to content

Commit

Permalink
chore: 🏗️ Change Storybook build folder (#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz authored Aug 28, 2023
1 parent 02ae6ee commit c4b2523
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:
uses: JamesIves/[email protected]
with:
branch: github-pages-deployment
folder: docs # Source folder (output from build step)
target-folder: docs # Target folder (create a directory to put the deployment content in)
folder: dist/storybook # Source folder (output from build step)
target-folder: dist/storybook # Target folder (create a directory to put the deployment content in)
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ coverage/
# JetBrains IntelliJ IDEA
.idea

# Storybook build files
docs

# Hidden macOS files
.DS_Store

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "lerna run build",
"build:react": "yarn workspace @digdir/design-system-react build",
"build:tokens": "yarn workspace @digdir/design-system-tokens build",
"build:storybook": "storybook build -o ./docs",
"build:storybook": "storybook build -o ./dist/storybook",
"build:storefront": "yarn workspace storefront building",
"start:storefront": "yarn workspace storefront start",
"lerna:version": "lerna version --conventional-commits --no-private",
Expand Down

0 comments on commit c4b2523

Please sign in to comment.