gh-pages-deploy-cmd
v1.0.1
Published
deploy to gh-pages commands.
Downloads
2
Readme
gh-pages-deploy-cmd
This npm modules help to deploy to gh-pages.
Installation
npm install -D gh-pages-deploy-cmd
Usage
1. Add "gh-pages-deploy-cmd" to npm run-script.
"scripts": {
"deploy": "gh-pages-deploy-cmd 'dist/**/*'"
},
2. Add GH_TOKEN
to .travis.yml
gem install travis
travis encrypt GH_TOKEN=<your github personal token> --add
3. git push
Automatically deploy to gh-pages
:tada:
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
MIT