...
convert-to-yml / develop-branch (push) Successful in 32s Details

This commit is contained in:
gilesb 2023-10-23 18:27:52 +01:00
parent a7364a2a38
commit bee01a610a
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ jobs:
- name: push - name: push
run: | run: |
if [[ $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c) -eq 0 ]]; then if [[ $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c) -eq 0 ]]; then
git rebase -Xours origin/master git rebase -Xtheirs origin/master
ls
git log -5 git log -5
echo no development branch so pushing echo no development branch so pushing
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}; git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};