title: How do I generate the GitHub OAuth token for organization accounts?
body: <p>I have created an organization on GitHub. My organization has some repos. These repos have API documentation that I would like to re-build and publish to <code>gh-pages</code> branch via Travis-CI.  In order to give Travis-CI access to my organization's repos I need to generate an OAuth token, encrypt it, and then add then include the encypted token in the <code>.travis.yml</code> file as follows...</p>
  
  <pre><code>env:
    global:
    - secure: "lots-of-seemingly-random-characters"
  </code></pre>
  
  <p>This <a href="https://stackoverflow.com/questions/18027115/committing-via-travis-ci-failing">SO post</a> explains the process and provides the details on how to do this for user accounts. How do I generate the required OAuth token for organization accounts?</p>