mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WORKFLOW: flathub push, trying to set origin first - fix1 [skip ci]
This commit is contained in:
parent
8e7c79b50e
commit
0f7e4653ed
|
@ -99,7 +99,7 @@ git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
|
||||||
|
|
||||||
|
|
||||||
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
||||||
git remote set-url origin https://x-access-token:${{ env.GH_TOKEN }}@github.com/${flathub_target_repo}
|
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/${flathub_target_repo}
|
||||||
git push --force origin "$relname"
|
git push --force origin "$relname"
|
||||||
else
|
else
|
||||||
git push --force "https://github.com/${flathub_target_repo}" "$relname"
|
git push --force "https://github.com/${flathub_target_repo}" "$relname"
|
||||||
|
|
Loading…
Reference in a new issue