File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
2424 git add $SITE_VERSION
2525 echo " <html><head><meta http-equiv=\" refresh\" content=\" 0; URL='http://GoogleCloudPlatform.github.io/gcloud-java/${SITE_VERSION} /index.html'\" /></head><body></body></html>" > index.html
2626 git add index.html
27+ echo " <html><head><script>window.location.replace('/gcloud-java/${SITE_VERSION} /apidocs' + location.search)</script></head><body></body></html>" > apidocs/index.html
28+ git add apidocs/index.html
2729 git commit -m " Added a new site for version $SITE_VERSION and updated the root directory's redirect."
2830 git config --global push.default simple
2931 git push --quiet " https://${CI_DEPLOY_USERNAME} :${CI_DEPLOY_PASSWORD} @github.com/GoogleCloudPlatform/gcloud-java.git" > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments