Skip to content

Commit

Permalink
Merge pull request #2 from storybooks/setup-publish-script
Browse files Browse the repository at this point in the history
Setup publish npm script
  • Loading branch information
shilman authored Apr 18, 2017
2 parents 5dee115 + cc6a3f9 commit da6bf45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
storybooks.js.org
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"build": "react-scripts build",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"publish": "npm run build && cp ./CNAME ./build && cd build && git init . && git remote add origin $( cd .. && git remote get-url origin ) && git add . && git commit -m 'Update build' && git push -f origin master"
}
}

0 comments on commit da6bf45

Please sign in to comment.