Skip to content

Commit

Permalink
fix(CI) login into github before doc deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
iRoachie committed Apr 2, 2018
2 parents ef403af + b57a0fe commit db4bd50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ after_script:
after_success:
- |
if [ "$TRAVIS_PULL_REQUEST" == "false" -a "$TRAVIS_BRANCH" == "master" ]; then
git config --global user.name "React Native Elements CI"
echo -e "machine github.com\n login react-native-elements-ci\n password $GITHUB_TOKEN" >> ~/.netrc
cd website && yarn && GIT_USER=react-native-elements-ci yarn run publish-gh-pages
fi

0 comments on commit db4bd50

Please sign in to comment.