Skip to content

Commit f8bf768

Browse files
Test new way of adding secure remote with GH_TOKEN
1 parent 2c2107d commit f8bf768

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis-ci/change-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ cd $TRAVIS_BUILD_DIR
1111

1212
local remote=origin
1313
if [[ $GH_TOKEN ]]; then
14-
remote=https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG
14+
remote=https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
1515
fi
1616

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

0 commit comments

Comments
 (0)