1.0.1 • Published 9 years ago

gh-pages-deploy-cmd v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gh-pages-deploy-cmd Build Status

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

See travis-ci/travis.rb

gem install travis
travis encrypt GH_TOKEN=<your github personal token> --add

3. git push

Automatically deploy to gh-pages :tada:

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT