kjhgfdsa
convert-to-yml / develop-branch (push) Failing after 25s
Details
convert-to-yml / develop-branch (push) Failing after 25s
Details
This commit is contained in:
parent
3f60118d06
commit
ffa310c151
|
@ -43,6 +43,7 @@ jobs:
|
|||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: |
|
||||
git branch -r
|
||||
git diff origin/${{ env.DEVELOPMENT_BRANCH }}
|
||||
- name: diff
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||
|
@ -58,7 +59,7 @@ jobs:
|
|||
fi
|
||||
echo 'pushed new branch and created pr';
|
||||
else
|
||||
if [[ $(git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||
if [[ $(git diff origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||
git push origin HEAD:origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||
else
|
||||
echo 'no changes so no push'
|
||||
|
|
Loading…
Reference in New Issue