This commit is contained in:
gilesb 2023-10-23 18:27:52 +01:00 committed by giles
parent 705bd52763
commit 0234a8c056
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 }};