Last active
November 18, 2016 13:31
-
-
Save sadikaya/34b7853534fc7dfa9c2e0d612baaeb30 to your computer and use it in GitHub Desktop.
use npm-scripts to deploy build folder to gh-pages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scripts": { | |
"deploy": "git push origin :gh-pages && git subtree push --prefix [build-folder] origin gh-pages" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment