WORKFLOW: changing push action - fix2 [skip ci]

This commit is contained in:
XargonWan 2025-02-03 11:11:48 +09:00
parent 0ea9c04a92
commit 905edeb1c4
2 changed files with 9 additions and 4 deletions

View file

@ -26,11 +26,12 @@ jobs:
uses: EndBug/add-and-commit@v9 uses: EndBug/add-and-commit@v9
with: with:
message: "Updated flathub/net.retrodeck.retrodeck to v${{ env.RELNAME }} from RetroDECK/${{ env.RD_BRANCH }}" message: "Updated flathub/net.retrodeck.retrodeck to v${{ env.RELNAME }} from RetroDECK/${{ env.RD_BRANCH }}"
new_branch: "${{ env.RD_BRANCH }}" new_branch: "${{ env.RELNAME }}"
cwd: "${{ env.FOLDER_TO_PUSH }}" cwd: "${{ env.FOLDER_TO_PUSH }}"
push: 'origin ${{ env.TARGET_REPO }} --set-upstream --force' push: 'origin ${{ env.TARGET_REPO }} --set-upstream --force'
author_email: ${{ secrets.GITMAIL }} author_email: ${{ secrets.GITMAIL }}
committer_email: ${{ secrets.GITNAME }} committer_email: ${{ secrets.GITNAME }}
add: "*" add: "*"
tag: "v${{ env.RD_BRANCH }}" tag: "v${{ env.RELNAME }} --force"
tag_push: '--force' default_author: "Rekku"
committer_name: "Rekku"

View file

@ -3,7 +3,11 @@
# EDITABLES: # EDITABLES:
#rd_branch=${GITHUB_REF_NAME} # should be main #rd_branch=${GITHUB_REF_NAME} # should be main
gits_folder="/tmp/${GITHUB_WORKSPACE}/gits" # without last / if [ -z "${GITHUB_WORKSPACE}" ]; then
GITHUB_WORKSPACE="."
fi
gits_folder="${GITHUB_WORKSPACE}/tmp/gits" # without last /
rd_branch="main" rd_branch="main"
flathub_target_repo='flathub/net.retrodeck.retrodeck' flathub_target_repo='flathub/net.retrodeck.retrodeck'