mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WORKFLOW: trying using gh instead [skip ci]
This commit is contained in:
parent
c86ed6c871
commit
6fcf576fe6
|
@ -98,7 +98,9 @@ git add .
|
||||||
git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
|
git commit -m "Update RetroDECK to v$relname from RetroDECK/$rd_branch"
|
||||||
|
|
||||||
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
||||||
git push --force "https://${GITHUB_TOKEN}:x-oauth-basic@github.com/${flathub_target_repo}" "$relname"
|
gh auth login --with-token <<< "${GITHUB_TOKEN}"
|
||||||
|
gh repo set-default "${flathub_target_repo}"
|
||||||
|
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"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue