I am trying to get a gradle build to run successfully in a Travis-CI environment. What this build does is just a static web page generation that in end is supposed to publish the generated static web site in the remote git branch called gh-pages.
The build unfortunately fails because it does not have permission to publish to the remote git branch. I am able to run the build locally my pc and publish but I had to use SSH keys authentication on my box.
How can I make it work on Travis-CI ?
The source code and build files are at: https://github.com/luistrigueiros/southcitychurch
Thank you, kindly