From 8e7c79b50ecb017feb6a01300dcdd8e65178e1ac Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 3 Feb 2025 15:08:12 +0900 Subject: [PATCH] WORKFLOW: flathub push, trying to set origin first [skip ci] --- automation_tools/flathub_push_main.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automation_tools/flathub_push_main.sh b/automation_tools/flathub_push_main.sh index 1d65365a..73b9c2fc 100755 --- a/automation_tools/flathub_push_main.sh +++ b/automation_tools/flathub_push_main.sh @@ -99,7 +99,8 @@ git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch" if [ -n "${GITHUB_WORKFLOW}" ]; then - git push --force "${GIT_NAME}@github.com/${flathub_target_repo}.git" "$relname" + git remote set-url origin https://x-access-token:${{ env.GH_TOKEN }}@github.com/${flathub_target_repo} + git push --force origin "$relname" else git push --force "https://github.com/${flathub_target_repo}" "$relname" fi