diff --git a/utilities/after_success.sh b/utilities/after_success.sh index c90bdb0b9a02..4972992915ac 100755 --- a/utilities/after_success.sh +++ b/utilities/after_success.sh @@ -24,6 +24,8 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" - git add $SITE_VERSION echo "
" > index.html git add index.html + echo "" > apidocs/index.html + git add apidocs/index.html git commit -m "Added a new site for version $SITE_VERSION and updated the root directory's redirect." git config --global push.default simple git push --quiet "https://${CI_DEPLOY_USERNAME}:${CI_DEPLOY_PASSWORD}@github.com/GoogleCloudPlatform/gcloud-java.git" > /dev/null 2>&1