cyan33 / learn-react-source-code

Build react from scratch (code + blog)
208 stars 23 forks source link

Add Gitbook build support #14

Closed sabertazimi closed 6 years ago

sabertazimi commented 6 years ago

With Gitbook and Travis CI, building an online version of this tutorial only need 2 steps

Gitbook Live Demo -> Repo

Enable CI build on travis.org

Just need to complete step 2 of https://docs.travis-ci.com/user/getting-started#To-get-started-with-Travis-CI

Define GITHUB_TOKEN, GIT_NAME and GIT_EMAIL environment variables

As https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings said, set:

cyan33 commented 6 years ago

That looks awesome. Thanks @sabertazimi 👍

cyan33 commented 6 years ago

Would you also like to add this link to the README file?

sabertazimi commented 6 years ago

OK