#!/bin/bash
if [ "$TRAVIS_JDK_VERSION" = "oraclejdk8" ]; then
    git clone https://${GH_TOKEN}@github.com/LapisBlue/Javadocs .jd
    ./gradlew javadoc -x :SpongeAPI:javadoc && {
        cd .jd/
        git config user.name "Lapislazuli"
        git config user.email "lapislazuli@lapis.blue"
        git rm -r commons
        cp -r ../build/docs/javadoc commons
        git add -A
        git commit -m "Update to $TRAVIS_COMMIT (Build $TRAVIS_BUILD_NUMBER)"
        git push origin gh-pages
    }
fi

#!/bin/bash
if [ "$TRAVIS_JDK_VERSION" = "oraclejdk8" ]; then
    git clone https://${GH_TOKEN}@github.com/LapisBlue/Javadocs .jd
    ./gradlew javadoc -x :SpongeAPI:javadoc && {
        cd .jd/
        git config user.name "Lapislazuli"
        git config user.email "lapislazuli@lapis.blue"
        git rm -r commons
        cp -r ../build/docs/javadoc commons
        git add -A
        git commit -m "Update to $TRAVIS_REPO_SLUG@$TRAVIS_COMMIT (Build $TRAVIS_BUILD_NUMBER)"
        git push origin gh-pages
    }
fi

Make the commit message even longer.
Make the commit message even longer.
