From a28dc34918a95de0b41daeeaadb3f46a12e159ea Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Mon, 26 Sep 2016 14:47:16 -0700 Subject: [PATCH] Update travis.yml to use $GITHUB_USER_NAME and $GITHUB_USER_EMAIL (#7811) See https://github.com/facebook/react/pull/7747#issuecomment-249677880 for discussions (cherry picked from commit fb1e7075edc53f6548693a973258ecb6cb11b5c5) --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f5725a14cb..b924f25cb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,8 +28,8 @@ script: GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/../react-gh-pages echo "machine github.com login reactjs-bot password $GITHUB_TOKEN" >~/.netrc - git config --global user.name "Travis CI" - git config --global user.email "travis@reactjs.org" + git config --global user.name "$GITHUB_USER_NAME" + git config --global user.email "$GITHUB_USER_EMAIL" git clone --branch gh-pages --depth=50 \ https://reactjs-bot@github.com/facebook/react.git \