...
convert-to-yml / develop-branch (push) Successful in 33s
Details
convert-to-yml / develop-branch (push) Successful in 33s
Details
This commit is contained in:
parent
e11179187f
commit
f37f016a98
|
@ -44,7 +44,7 @@ jobs:
|
||||||
git push origin HEAD:${{ env.BUILD_BRANCH }};
|
git push origin HEAD:${{ env.BUILD_BRANCH }};
|
||||||
else
|
else
|
||||||
if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then
|
if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||||
git rebase origin/${{ env.BUILD_BRANCH }} --strategy-option ours
|
git rebase origin/${{ env.BUILD_BRANCH }} --strategy-option theirs
|
||||||
git push origin HEAD:${{ env.BUILD_BRANCH }}
|
git push origin HEAD:${{ env.BUILD_BRANCH }}
|
||||||
else
|
else
|
||||||
echo 'no changes so no push'
|
echo 'no changes so no push'
|
||||||
|
|
Loading…
Reference in New Issue