format/tryagain -> develop/tryagain
build-develop-branch / build-branch (push) Successful in 27s Details

This commit is contained in:
Continuous Integration 2023-10-23 01:46:15 +00:00
parent 14eae057d0
commit d312d9d136
2 changed files with 3 additions and 2 deletions

View File

@ -25,9 +25,11 @@ jobs:
firstString=${{ github.ref_name }}
secondString="develop"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format\//"$secondString"\/}
git status
- name: clone
run: |
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
git -C ../cloned checkout -b $DEVELOPMENT_BRANCH
mv ../cloned/.git ..
rm -rf ../cloned
cp -r . ../cloned
@ -45,7 +47,6 @@ jobs:
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git add -A
git status
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }} "