gh-pages-deploy-sh
This shell script wrapper for deploy to gh-pages.
Installation
npm install -D gh-pages-deploy-sh
Usage
$ gh-pages-deploy-sh directory
1. Add "gh-pages-deploy-sh" to npm run-script.
"scripts": {
"deploy": "gh-pages-deploy-sh dist/"
},
GH_TOKEN
to .travis.yml
2. Add
gem install travistravis encrypt GH_TOKEN=<your github personal token> --add
3. git push
Automatically deploy to gh-pages
🎉
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
License
MITg