From 2e0195f4b5c75530124cfd6d4d7d8ccee86e7977 Mon Sep 17 00:00:00 2001 From: giles Date: Sat, 21 Oct 2023 20:11:45 +0100 Subject: [PATCH] this change --- .gitea/workflows/convert-to-yml.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 8fee9d8..d8592c1 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -20,7 +20,7 @@ jobs: run: | firstString=${{ github.ref_name }} secondString="develop-" - echo "${firstString/format-/"$secondString"}" + echo ::set-env production_branch=${firstString/format-/"$secondString"} - name: GIT commit and push all changed files env: CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts @@ -31,4 +31,4 @@ jobs: git config --global user.email "username@users.noreply.github.com" git add -A git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" - git push -f origin HEAD:product-development \ No newline at end of file + git push -f origin HEAD:${{ env.production_branch }} \ No newline at end of file