Skip to content

Commit fd932a2

Browse files
Revert to working way of adding secure remote with GH_TOKEN
1 parent f8bf768 commit fd932a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

travis-ci/change-file.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ MONTH=$(date +"%m")
44
cd $TRAVIS_BUILD_DIR
55

66
#Remove Remotes Added by TravisCI
7-
#git remote rm origin
7+
git remote rm origin
88

99
#Add Remote with Secure Key
10-
#git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
10+
git remote add origin https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
1111

12-
local remote=origin
13-
if [[ $GH_TOKEN ]]; then
14-
remote=https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
15-
fi
12+
#local remote=origin
13+
#if [[ $GH_TOKEN ]]; then
14+
# remote=https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
15+
#fi
1616

1717
#List Remotes ONLY DURING testing - do not do this on live repo / possible key leak
1818
#git remote -v

0 commit comments

Comments
 (0)