gh-pages-deploy-cmd

1.0.1 • Public • Published

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 🎉

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

Package Sidebar

Install

npm i gh-pages-deploy-cmd

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • azu