...
convert-to-yml / develop-branch (push) Successful in 31s
Details
convert-to-yml / develop-branch (push) Successful in 31s
Details
This commit is contained in:
parent
5ab4b8aaf0
commit
1437031ab3
|
@ -64,8 +64,6 @@ jobs:
|
|||
git status
|
||||
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
|
||||
git add -A
|
||||
git config --global user.name "${{ github.event.pusher.name }}"
|
||||
git config --global user.email "${{ github.event.pusher.email }}"
|
||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
||||
echo no development branch so pushing
|
||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
|
||||
|
@ -94,8 +92,6 @@ jobs:
|
|||
mv ../cloned/.git .
|
||||
git status
|
||||
git add -A
|
||||
git config --global user.name "${{ github.event.pusher.name }}"
|
||||
git config --global user.email "${{ github.event.pusher.email }}"
|
||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
|
||||
else
|
||||
|
|
|
@ -36,12 +36,9 @@ jobs:
|
|||
secondString="build"
|
||||
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
|
||||
- name: push
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: Development branch built to xml.
|
||||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: |
|
||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "username@users.noreply.github.com"
|
||||
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
|
||||
git add -A
|
||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
||||
git checkout -b ${{ env.BUILD_BRANCH }}
|
||||
|
@ -63,8 +60,6 @@ jobs:
|
|||
mv ../cloned/.git .
|
||||
git status
|
||||
git add -A
|
||||
git config --global user.name "${{ github.event.pusher.name }}"
|
||||
git config --global user.email "${{ github.event.pusher.email }}"
|
||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
||||
git push origin HEAD:${{ env.BUILD_BRANCH }}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue