The following curl command will send an OAuth token creation request on github: Coda is everything you need to hand-code a website, in one beautiful app. Commit your changes and push them to the remote repository: Those changes are headed to your website! It could take up to ten minutes for changes to be updated http: Finally, you configured Travis to watch for changes and run the Awestruct deployer with the git credentials and GitHub token you passed to it securely. We need to tell Awestruct how to publish the site. Travis build configuration You control Travis from a configuration file in the root of your project named. You can even go into full-screen mode by clicking the box in the lower right-hand corner of the editor. Free Rider 2 You can't cover the awesomeness of canvas without including at least one game. Well, we did it. Fast find and replace. For example, the Find and Replace has this revolutionary "Wildcard" token that makes RegEx one-button simple. That defines the secure environment variables, which Travis will decrypt at the start of the build, so that they can be used by the build task in our case, rake travis. How do you elegantly wrap everything together? Select one of the files in your repository, perhaps a blog entry. Gotchas The GitHub Pages deployer in Awestruct only adds files to deployment, does not compute removed files Summary In this tutorial, you learned how to get Travis CI to do the work of deploying your site as soon as you push to the develop branch. So what does rake travis do? Once again, sit back and wait. An excellent example of interactivity and logic. Aside from the extra steps, Travis is effectively running the command you previously had to run manually: Once both branches were setup correctly, you pushed them to GitHub. If you have two factor authentication enabled on GitHub, it is easier to go to your settings page and generate a new OAuth token there. Next, install the travis gem: Before we encrypt, we need to get a new authentication token from GitHub.