WORKFLOW: added proper push step if in gtihub runner - fix3 [skip ci]

This commit is contained in:
XargonWan 2025-02-03 10:51:45 +09:00
parent 9a6392878f
commit cda96a9438

View file

@ -83,7 +83,7 @@ if [ -n "${GITHUB_WORKFLOW}" ]; then
echo "RD_BRANCH=$rd_branch" >> $GITHUB_ENV echo "RD_BRANCH=$rd_branch" >> $GITHUB_ENV
echo "RELNAME=$relname" >> $GITHUB_ENV echo "RELNAME=$relname" >> $GITHUB_ENV
echo "FOLDER_TO_PUSH="$gits_folder/flathub"" >> $GITHUB_ENV echo "FOLDER_TO_PUSH="$gits_folder/flathub"" >> $GITHUB_ENV
echo "TARGET_REPO=https://github.com/${flathub_target_repo}.git" >> $GITHUB_ENV echo "TARGET_REPO=https://github.com/${flathub_target_repo}" >> $GITHUB_ENV
else else
git add . git add .
git commit -m "Updated flathub/net.retrodeck.retrodeck to v$relname from RetroDECK/$rd_branch" git commit -m "Updated flathub/net.retrodeck.retrodeck to v$relname from RetroDECK/$rd_branch"