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
|
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"
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue