From 149a908b829cccb39e8c399f082e701909b07f5b Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 31 Oct 2022 09:19:20 -0500 Subject: [PATCH] move build-storybook step (#8492) --- .github/workflows/deploy-fleet-website.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-fleet-website.yml b/.github/workflows/deploy-fleet-website.yml index 5af6d5319a..965eb13a57 100644 --- a/.github/workflows/deploy-fleet-website.yml +++ b/.github/workflows/deploy-fleet-website.yml @@ -51,6 +51,9 @@ jobs: with: node-version: ${{ matrix.node-version }} + # Build storybook in the website's assets/ folder + - run: npm run build-storybook -- -o ./website/assets/storybook --loglevel verbose + # Now start building! # > …but first, get a little crazy for a sec and delete the top-level package.json file # > i.e. the one used by the Fleet server. This is because require() in node will go @@ -67,9 +70,6 @@ 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