docs(readme): add link to where you can get a github token

This commit is contained in:
Stephan Bönnemann 2015-02-08 11:55:23 +01:00
parent 7b170b1167
commit ed39847510

View File

@ -112,6 +112,7 @@ You must define your GitHub repository in the `package.json`s [repository field]
### CI Server
Inside your `.travis.yml`:
```yml
language: node_js
node_js:
@ -123,6 +124,7 @@ cache:
notifications:
email: false
env:
# Get your token here: https://github.com/settings/tokens/new
# Encrypt this. See notes.
global: GH_TOKEN=<github-access-token-with-acceess-to-your-repo>
deploy:
@ -138,6 +140,7 @@ deploy:
branch: master
repo: <user>/<repo>
```
Note: For once this isn't tied to a specific service, but example configuration is shown for [Travis CI](https://travis-ci.org/). Feel free to contribute configuration of other servers or services.
Note: You should [encrypt](http://docs.travis-ci.com/user/environment-variables/#sts=Secure Variables) your api keys and tokens.