this change
convert-to-yml / format-branch (push) Successful in 21s Details

This commit is contained in:
giles 2023-10-21 20:14:41 +01:00
parent 2e0195f4b5
commit 2afed8dac5
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ jobs:
run: | run: |
firstString=${{ github.ref_name }} firstString=${{ github.ref_name }}
secondString="develop-" secondString="develop-"
echo ::set-env production_branch=${firstString/format-/"$secondString"} echo ::set-env name=PRODUCTION_BRANCH::${firstString/format-/"$secondString"}
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
@ -31,4 +31,4 @@ jobs:
git config --global user.email "username@users.noreply.github.com" git config --global user.email "username@users.noreply.github.com"
git add -A git add -A
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
git push -f origin HEAD:${{ env.production_branch }} git push -f origin HEAD:${{ env.PRODUCTION_BRANCH }}