From 1da159708ae97524d63ab13721893f3de97e1cae Mon Sep 17 00:00:00 2001 From: XargonWan Date: Mon, 3 Feb 2025 13:41:14 +0900 Subject: [PATCH] WORKFLOW: trying using gh instead - fix1 [skip ci] --- automation_tools/flathub_push_main.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/automation_tools/flathub_push_main.sh b/automation_tools/flathub_push_main.sh index 7765b4be..3f243c04 100755 --- a/automation_tools/flathub_push_main.sh +++ b/automation_tools/flathub_push_main.sh @@ -100,6 +100,7 @@ git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch" if [ -n "${GITHUB_WORKFLOW}" ]; then gh auth login --with-token <<< "${GITHUB_TOKEN}" gh repo set-default "${flathub_target_repo}" + gh repo create-branch --branch "$relname" gh repo sync --force --branch "$relname" else git push --force "https://github.com/${flathub_target_repo}" "$relname"