From c4b25234028befb3c1928b7cd6e99c4337313602 Mon Sep 17 00:00:00 2001 From: Michael Marszalek Date: Mon, 28 Aug 2023 09:33:48 +0200 Subject: [PATCH] chore: :building_construction: Change Storybook build folder (#760) --- .github/workflows/deploy-storybook.yml | 4 ++-- .gitignore | 3 --- package.json | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-storybook.yml b/.github/workflows/deploy-storybook.yml index 31a8ee8b46..f18a13aceb 100644 --- a/.github/workflows/deploy-storybook.yml +++ b/.github/workflows/deploy-storybook.yml @@ -34,5 +34,5 @@ jobs: uses: JamesIves/github-pages-deploy-action@4.1.5 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) diff --git a/.gitignore b/.gitignore index 84742bcb53..e1404f8fbc 100644 --- a/.gitignore +++ b/.gitignore @@ -22,9 +22,6 @@ coverage/ # JetBrains IntelliJ IDEA .idea -# Storybook build files -docs - # Hidden macOS files .DS_Store diff --git a/package.json b/package.json index 7d4b5c7d07..550b18c089 100644 --- a/package.json +++ b/package.json @@ -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",