Skip to content

Commit eab2191

Browse files
committed
CI split-code.sh – try a different way of providing credentials
1 parent f62b3d5 commit eab2191

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/split-code.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ split_and_push() {
5656
token="${GH_TOKEN:-${GITHUB_TOKEN:-}}"
5757

5858
if [[ -n "$token" ]]; then
59-
# Configure git to inject token for any https://github.com URLs
60-
git config --global url."https://x-access-token:${token}@github.com/".insteadOf "https://github.com/" || true
61-
repo_url="https://github.com/${org}/${repo_name}.git"
59+
repo_url="https://x-access-token:${token}@github.com/${org}/${repo_name}.git"
6260
else
6361
repo_url="[email protected]:${org}/${repo_name}.git"
6462
fi

0 commit comments

Comments
 (0)