0.0.1-master.044af3c • Published 8 years ago

commit-publish-template v0.0.1-master.044af3c

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

commit-publish Build Status

My template for latest ES6 and CI/CD with Travis CI.

Setup deployment

Update NPM token in .travis.yml

  1. Run npm token create
  • Write down the GUID token
  1. Encrypt the token using Travis CLI
  • docker pull caktux/travis-cli
  • docker run --rm caktux/travis-cli encrypt 12345678-1234-5678-abcd-12345678abcd -r your-org/your-repo
  1. Modify .travis.yml
  • Set deploy.api_key.secure to the encrypted token
  • Set deploy.email to your NPM email

Setup Travis

  1. In settings, enable "Build pushed branches"