WORKFLOW: trying using gh instead - fix1 [skip ci]

This commit is contained in:
XargonWan 2025-02-03 13:41:14 +09:00
parent 6fcf576fe6
commit 1da159708a

View file

@ -100,6 +100,7 @@ git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
if [ -n "${GITHUB_WORKFLOW}" ]; then if [ -n "${GITHUB_WORKFLOW}" ]; then
gh auth login --with-token <<< "${GITHUB_TOKEN}" gh auth login --with-token <<< "${GITHUB_TOKEN}"
gh repo set-default "${flathub_target_repo}" gh repo set-default "${flathub_target_repo}"
gh repo create-branch --branch "$relname"
gh repo sync --force --branch "$relname" gh repo sync --force --branch "$relname"
else else
git push --force "https://github.com/${flathub_target_repo}" "$relname" git push --force "https://github.com/${flathub_target_repo}" "$relname"