Skip to content

Commit be65480

Browse files
[ci-skip] update git config for gh-pages script
1 parent d02e5ff commit be65480

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.utility/push-javadoc-to-gh-pages.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/java-sdk" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" ] && [ "$TRAVIS_BUILD_NUMBER.1" == "$TRAVIS_JOB_NUMBER" ]; then
44

5-
git config --global user.email "[email protected]"
6-
git config --global user.name "travis-ci"
5+
git config --global user.email "[email protected]"
6+
git config --global user.name "Watson Github Bot"
77
git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/watson-developer-cloud/java-sdk gh-pages > /dev/null
88

99
pushd gh-pages
@@ -13,7 +13,7 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/java-sdk" ] && [ "$TRAVIS_PU
1313

1414
cp -rf ../target/site/apidocs/* docs/$TRAVIS_BRANCH
1515
../.utility/generate_index_html.sh > index.html
16-
16+
1717
# update the latest/ symlink
1818
# on tagged builds, $TRAVIS_TAG is set to the tag, but it's blank on regular builds, unlike $TRAVIS_BRANCH
1919
if [ $TRAVIS_TAG ]; then

0 commit comments

Comments
 (0)