Skip to content

Commit 58c491c

Browse files
committed
entrypoint.bash: Try setting the remore url again
1 parent 68e88d9 commit 58c491c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

entrypoint.bash

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,12 @@ git init
4343

4444
git config user.name "${GITHUB_ACTOR}"
4545
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
46+
4647
git remote add origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
48+
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
4749

48-
git remote update
4950
git remote -v
51+
git remote update
5052

5153
git rebase --autosquash --autostash "${BASE_REF}" "${HEAD_BRANCH}"
5254
git push --force origin "${HEAD_BRANCH}"

0 commit comments

Comments
 (0)