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
093a2dec59
commit
e2adb97034
|
@ -47,13 +47,13 @@ jobs:
|
|||
env:
|
||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: git diff --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }}
|
||||
run: git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }}
|
||||
- name: push
|
||||
env:
|
||||
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: |
|
||||
if $(git diff --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }}); then
|
||||
if $(git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }}); then
|
||||
git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||
else
|
||||
echo 'no diff'
|
||||
|
|
Loading…
Reference in New Issue