Fix release script

This commit is contained in:
Nicolas Gallagher
2017-12-30 14:32:51 -08:00
parent 85aaa39206
commit bff3f50ae0
4 changed files with 54 additions and 14 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"name": "website",
"version": "0.2.2",
"scripts": {
"build": "yarn && build-storybook -o ./dist -c ./storybook/.storybook",
"build": "build-storybook -o ./dist -c ./storybook/.storybook",
"start": "start-storybook -p 9001 -c ./storybook/.storybook",
"release": "yarn build && git checkout gh-pages && rm -rf ../storybook && mv dist ../storybook && git add -A && git commit -m \"Storybook deploy\" && git push origin gh-pages && git checkout -"
},