ci: add storybook vercel deploy

This commit is contained in:
41666 2020-10-09 15:21:16 -04:00
parent 72ea639c5d
commit 6373de8ab5
2 changed files with 15 additions and 2 deletions

View file

@ -5,7 +5,8 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"storybook": "start-storybook -p 6006", "storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook" "build-storybook": "build-storybook",
"now-build": "build-storybook"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

12
vercel.json Normal file
View file

@ -0,0 +1,12 @@
{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@vercel/static-build",
"config": {
"distDir": "storybook-static"
}
}
]
}