diff --git a/.travis.yml b/.travis.yml index 5116918226..18279e3f38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,8 +23,8 @@ script: GH_PAGES_DIR="$TRAVIS_BUILD_DIR"/../react-gh-pages echo "machine github.com login reactjs-bot password $GITHUB_TOKEN" >~/.netrc - export GIT_COMMITTER_NAME="Travis CI" - export GIT_COMMITTER_EMAIL="travis@reactjs.org" + git config --global user.name "Travis CI" + git config --global user.email "travis@reactjs.org" git clone --branch gh-pages --depth=50 \ https://reactjs-bot@github.com/facebook/react.git \