Publish JavaDoc to gh-pages on release
MODIFY
.travis.yml
.travis.yml
@@ -18,7 +18,7 @@ jobs:
script: skip
deploy:
provider: script
- script: ./gradlew -s assemble bintrayUpload
+ script: ./gradlew -s assemble bintrayUpload gitPublishPush
on:
tags: true

MODIFY
gradle/documentation.gradle
gradle/documentation.gradle
@@ -12,6 +12,7 @@ apply plugin: org.ajoberstar.gradle.git.publish.GitPublishPlugin
gitPublish {
repoUri = 'git@github.com:bmuschko/gradle-docker-plugin.git'
+ branch = 'gh-pages'
contents {
from(javadoc.outputs.files) {

Publish JavaDoc to gh-pages on release