kjhgfdsa
convert-to-yml / develop-branch (push) Failing after 25s Details

This commit is contained in:
giles 2023-10-23 10:28:12 +01:00
parent 3f60118d06
commit ffa310c151
1 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@ jobs:
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
run: | run: |
git branch -r git branch -r
git diff origin/${{ env.DEVELOPMENT_BRANCH }}
- name: diff - name: diff
env: env:
CI_COMMIT_MESSAGE: converted to yml for review. CI_COMMIT_MESSAGE: converted to yml for review.
@ -58,7 +59,7 @@ jobs:
fi fi
echo 'pushed new branch and created pr'; echo 'pushed new branch and created pr';
else 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 }}; git push origin HEAD:origin/${{ env.DEVELOPMENT_BRANCH }};
else else
echo 'no changes so no push' echo 'no changes so no push'