Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

TypeDoc Publishing

Steven Silvester edited this page Aug 3, 2017 · 9 revisions
  • Go to Github account settings -> personal access tokens
  • Create a new token with access rights public_repo and user:email only
  • Install the travis command line tool: gem install travis. On OSX, you can get gem via brew install ruby.
  • Take then token generated by Github and run travis encrypt GH_TOKEN=<token> from inside the repo of interest
  • Paste the output into the secure: field of .travis.yml.
  • Ensure Travis builds are turned on for the repo at travis.org
  • The decrypted GH_TOKEN env var will be available for your travis scripts
  • Make sure you have a gh-pages branch on Github. git checkout -b gh-pages && git push <remote-name> gh-pages.

https://help.github.com/articles/creating-an-access-token-for-command-line-use/ http://docs.travis-ci.com/user/encryption-keys/ https://github.com/phosphorjs/phosphor/blob/master/scripts/travis_after_success.sh

Clone this wiki locally