From 36f8643f3e351639110e5a6563a65341a5301fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6nnemann?= Date: Sun, 8 Feb 2015 16:59:21 +0100 Subject: [PATCH] docs(readme): add travis encrypt commands --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 20bb21e4..be3bb283 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,8 @@ 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= --add` global: GH_TOKEN= deploy: provider: npm @@ -143,8 +144,9 @@ deploy: # 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 ":" | base64` to get it. + # You should encrypt this: + # `travis encrypt $(echo -n ":" | base64) --add deploy.api_key` api_key: on: branch: master