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
This commit is contained in:
Eric 2022-10-28 19:48:14 -05:00 committed by GitHub
parent d342d1e646
commit c6698e242f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -1,3 +1,4 @@
assets/dependencies/**/*.js
views/**/*.ejs
assets/storybook/*