On Mar 28, 2013 Dan Allen explained how to deploy to github-pages automatically. Many other GitHub users like Steve Klabnik and Domenic Denicola followed with the same approach:
Use an OAuth token with public_repo
or repo
permission to access the Github account over HTTPS inside a virtual build environment.
The same applies to Travis CI's built-in abilities, and there are more restrictions as deploying GitHub Releases works only for tags, not for branches.
The token grants write access for all of your (public) repositories and