Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40e1673

Browse files
committed
Adding missing git config to deploy stage.
1 parent d883acf commit 40e1673

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ jobs:
119119
- if [[ ($TRAVIS_BRANCH == develop) && ($TRAVIS_PULL_REQUEST == false) ]]; then bash .travis/trigger_travis.sh $TRAVIS_ACCESS_TOKEN; fi
120120
- #The update_project_version.sh needs to be done before pushing changes to develop branch
121121
- bash .travis/update_project_version.sh
122+
- git config --global user.email "[email protected]"
123+
- git config --global user.name "${UTPLSQL_BUILD_USER_NAME}"
124+
- git remote rm origin
125+
- git remote add origin https://${github_api_token}@github.com/${UTPLSQL_REPO}
122126
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/push_release_version.sh; fi
123127
- bash .travis/build_docs.sh
124128
- bash .travis/push_docs_to_gh_pages.sh

0 commit comments

Comments
 (0)