Skip to content

azu/gh-pages-deploy-cmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This npm modules help to deploy to gh-pages.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published