Skip to content

Commit

Permalink
docs(readme): add travis encrypt commands
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Feb 8, 2015
1 parent c7862b8 commit 36f8643
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -135,16 +135,18 @@ notifications:
email: false
env:
# Get your token here: https://github.com/settings/tokens/new
# Encrypt this. See notes.
# You should encrypt this:
# `travis encrypt GH_TOKEN=<token> --add`
global: GH_TOKEN=<github-access-token-with-acceess-to-your-repo>
deploy:
provider: npm
email: <your-npm-mail@example.com>
# Very important. Don't forget this one.
skip_cleanup: true
# Travis currently only supports the old auth key format.
# Do `echo -n "username:password" | base64` to get it.
# Encrypt this. See notes.
# Do `echo -n "<username>:<password>" | base64` to get it.
# You should encrypt this:
# `travis encrypt $(echo -n "<username>:<password>" | base64) --add deploy.api_key`
api_key: <npm-api-key>
on:
branch: master
Expand Down

0 comments on commit 36f8643

Please sign in to comment.