From c6698e242f6957a2a8bebe310fbe579265710e83 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 28 Oct 2022 19:48:14 -0500 Subject: [PATCH] Website: Add storybook to Fleet website (#8203) * Add build storybook to deploy website workflow * add assets/storybook folder to .gitignore & .eslintIgnore * Revert changes to website/.gitignore * revert whitespace change * Update deploy-fleet-website.yml --- .github/workflows/deploy-fleet-website.yml | 3 +++ website/.eslintignore | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy-fleet-website.yml b/.github/workflows/deploy-fleet-website.yml index 5218595673..5af6d5319a 100644 --- a/.github/workflows/deploy-fleet-website.yml +++ b/.github/workflows/deploy-fleet-website.yml @@ -67,6 +67,9 @@ jobs: # > script here. For more info, see: https://github.com/fleetdm/fleet/pull/5549 - run: rm -f .gitignore + # build storybook in the website's assets/ folder + - run: npm run build-storybook -- -o ./website/assets/storybook --loglevel verbose + # Download dependencies (including dev deps) - run: cd website/ && npm install diff --git a/website/.eslintignore b/website/.eslintignore index f190c2ae4f..74cd44b677 100644 --- a/website/.eslintignore +++ b/website/.eslintignore @@ -1,3 +1,4 @@ assets/dependencies/**/*.js views/**/*.ejs +assets/storybook/*