print-diff
convert-to-yml / develop-branch (push) Successful in 32s
Details
convert-to-yml / develop-branch (push) Successful in 32s
Details
This commit is contained in:
parent
12c21377f0
commit
bd4d8e8379
|
@ -53,8 +53,8 @@ jobs:
|
||||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||||
CI_COMMIT_AUTHOR: Continuous Integration
|
CI_COMMIT_AUTHOR: Continuous Integration
|
||||||
run: |
|
run: |
|
||||||
if [[$(git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }})]]; then
|
if [[$(git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0]]; then
|
||||||
git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }};
|
git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||||
else
|
else
|
||||||
echo 'no diff'
|
echo 'no changes so no push'
|
||||||
fi
|
fi
|
Loading…
Reference in New Issue