bob-carpenter / prob-stats

Probability and Statistics: a simulation-based introduction. An open-access book.
BSD 3-Clause "New" or "Revised" License
306 stars 53 forks source link

Add .travis.yml for deploying to Github Pages #5

Closed ellisvalentiner closed 9 months ago

ellisvalentiner commented 5 years ago

This PR addresses issue #1

This adds a Travis CI yaml file that will build the HTML version of the book from the master branch and deploy it to Github Pages.

After merging this PR, there are two additional steps:

  1. Create a Travis CI account and enable builds for this repo.
  2. Replace the encrypted environment variable with your own Github personal access token (see https://docs.travis-ci.com/user/environment-variables/#encrypting-environment-variables).
bob-carpenter commented 5 years ago

Thanks so much! When I'm ready to put up a published version (probably in a couple weeks when I've at least copyedited it properly), I'll use it.