Skip to content

Commit 6f52a1d

Browse files
author
Ajay Kannan
committed
---
yaml --- r: 973 b: refs/heads/master c: 5253270 h: refs/heads/master i: 971: fe0ea55 v: v3
1 parent 24b0db0 commit 6f52a1d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
refs/heads/master: 92b6fce1527328576bcd809e30601dbb599b6049
2+
refs/heads/master: 525327076405f89e19a03d78f0c15f5ba4203a65
33
refs/heads/travis: 0fa997e2fc9c6b61b2d91e6d163655aae67d44b6
44
refs/heads/gh-pages: 5a10432ecc75f29812e33a8236c900379509fe99

trunk/utilities/after_success.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)