mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2025-04-10 19:15:12 +00:00
WORKFLOW: changing push action - fix2 [skip ci]
This commit is contained in:
parent
0ea9c04a92
commit
905edeb1c4
7
.github/workflows/flathub_push_main.yml
vendored
7
.github/workflows/flathub_push_main.yml
vendored
|
@ -26,11 +26,12 @@ jobs:
|
|||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
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 }}"
|
||||
push: 'origin ${{ env.TARGET_REPO }} --set-upstream --force'
|
||||
author_email: ${{ secrets.GITMAIL }}
|
||||
committer_email: ${{ secrets.GITNAME }}
|
||||
add: "*"
|
||||
tag: "v${{ env.RD_BRANCH }}"
|
||||
tag_push: '--force'
|
||||
tag: "v${{ env.RELNAME }} --force"
|
||||
default_author: "Rekku"
|
||||
committer_name: "Rekku"
|
|
@ -3,7 +3,11 @@
|
|||
# EDITABLES:
|
||||
#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"
|
||||
flathub_target_repo='flathub/net.retrodeck.retrodeck'
|
||||
|
|
Loading…
Reference in a new issue