mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-01-31 04:25:39 +00:00
Cleaning old branch
This commit is contained in:
parent
f35ffe64b0
commit
5b7e2eb848
8
.github/workflows/flathub_push_cooker.yml
vendored
8
.github/workflows/flathub_push_cooker.yml
vendored
|
@ -40,7 +40,13 @@ 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
|
||||
|
||||
# cleaning the branch in case of a second run
|
||||
git branch -d $relname
|
||||
git push origin --delete $relname
|
||||
|
||||
git checkout -b $relname
|
||||
|
||||
git rm -rf *
|
||||
git clean -fxd # restroing git index
|
||||
|
||||
|
@ -80,7 +86,7 @@ jobs:
|
|||
git config --global user.email "${{ secrets.GITMAIL }}"
|
||||
|
||||
git add *
|
||||
git commit --ff -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
||||
git commit -m "Updated flathub/net.retrodeck.retrodeck from RetroDECK/$rd_branch"
|
||||
|
||||
git remote -v
|
||||
git push --force https://${{ secrets.TRIGGER_BUILD_TOKEN }}@github.com/flathub/net.retrodeck.retrodeck.git $relname
|
Loading…
Reference in a new issue