This shell script wrapper for deploy to gh-pages.
npm install -D gh-pages-deploy-sh
$ gh-pages-deploy-sh directory
"scripts": {
"deploy": "gh-pages-deploy-sh ./"
},
GH_TOKEN
to .travis.yml
gem install travis
travis encrypt GH_TOKEN=<your github personal token> --add
Automatically deploy to gh-pages
🎉
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MITg