Here’s an example of a React App which uses Travis CI with a custom build script to deploy itself on gh-pages after every pull request is merged into the project. The build system auto updates the latest changes hosted on whichever URL you have your project hosted on. In this blog, we will see how to automatically deploy the repository on gh pages.
To proceed with auto deploy on gh-pages branch,
- We first need to setup Travis for the project.
- Register on https://travis-ci.org/ and…