mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WORKFLOW: added proper push step if in gtihub runner - fix2 [skip ci]
This commit is contained in:
parent
49e59f5b3f
commit
1f38150599
4
.github/workflows/flathub_push_main.yml
vendored
4
.github/workflows/flathub_push_main.yml
vendored
|
@ -30,4 +30,6 @@ jobs:
|
|||
repository: "${{ secrets.GITHUB_REPOSITORY }}"
|
||||
push_options: '--force'
|
||||
commit_user_email: ${{ secrets.GITMAIL }}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
commit_user_name: ${{ secrets.GITNAME }}
|
||||
create_branch: true
|
||||
file_pattern: "${{ env.FOLDER_TO_PUSH }}/*"
|
||||
|
|
|
@ -82,6 +82,7 @@ fi
|
|||
if [ -n "${GITHUB_WORKFLOW}" ]; then
|
||||
echo "RD_BRANCH=$rd_branch" >> $GITHUB_ENV
|
||||
echo "RELNAME=$relname" >> $GITHUB_ENV
|
||||
echo "FOLDER_TO_PUSH="$gits_folder/flathub"" >> $GITHUB_ENV
|
||||
else
|
||||
git add .
|
||||
git commit -m "Updated flathub/net.retrodeck.retrodeck to v$relname from RetroDECK/$rd_branch"
|
||||
|
|
Loading…
Reference in a new issue