print-diff
convert-to-yml / develop-branch (push) Failing after 27s
Details
convert-to-yml / develop-branch (push) Failing after 27s
Details
This commit is contained in:
parent
d3ef63acfd
commit
093a2dec59
|
@ -37,17 +37,23 @@ jobs:
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
|
||||||
|
- name: status
|
||||||
|
env:
|
||||||
|
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||||
|
CI_COMMIT_AUTHOR: Continuous Integration
|
||||||
|
run: |
|
||||||
|
git status
|
||||||
- name: diff
|
- name: diff
|
||||||
env:
|
env:
|
||||||
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: git diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }}
|
run: git diff --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }}
|
||||||
- name: push
|
- name: push
|
||||||
env:
|
env:
|
||||||
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 --porcelain HEAD origin/${{ env.DEVELOPMENT_BRANCH }}); then
|
||||||
git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }};
|
git push HEAD origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||||
else
|
else
|
||||||
echo 'no diff'
|
echo 'no diff'
|
||||||
|
|
Loading…
Reference in New Issue