mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
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:
parent
d342d1e646
commit
c6698e242f
2 changed files with 4 additions and 0 deletions
3
.github/workflows/deploy-fleet-website.yml
vendored
3
.github/workflows/deploy-fleet-website.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
1
website/.eslintignore
vendored
1
website/.eslintignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
assets/dependencies/**/*.js
|
||||
views/**/*.ejs
|
||||
assets/storybook/*
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue