From 70e33b8f665a43b539628a5b915241532efa7da0 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 14 Oct 2022 10:58:41 +0200 Subject: [PATCH] Fixed flathub_push_main -fix1 --- .github/workflows/flathub_push_main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flathub_push_main.yml b/.github/workflows/flathub_push_main.yml index 1b031490..cf4a34d7 100644 --- a/.github/workflows/flathub_push_main.yml +++ b/.github/workflows/flathub_push_main.yml @@ -38,7 +38,8 @@ jobs: #sync -rav --progress --exclude={'res/screenshots/','shared-modules/','rd-submodules/retroarch','.git/','docs','retrodeck-flatpak/','retrodeck-flatpak-cooker/','.flatpak-builder/'} ~/RetroDECK/ ~/flathub/ cd $gits_folder/flathub - git checkout master + + git checkout -b $relname git rm -rf * git clean -fxd # restroing git index @@ -77,4 +78,4 @@ jobs: git add * git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch" - git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git $relname + git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git $relname \ No newline at end of file