Compare commits
2 Commits
88e34750c9
...
7a5f9d416e
Author | SHA1 | Date |
---|---|---|
giles | 7a5f9d416e | |
giles | f5d264b0dd |
|
@ -48,8 +48,7 @@ jobs:
|
|||
CI_COMMIT_MESSAGE: converted to yml for review.
|
||||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: |
|
||||
if [[ $(git branch -r | grep-Fx origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -eq 0 ]]; then
|
||||
echo 'there is no branch' origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||
if [[ $(git branch -r | grep -Fx origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -eq 0 ]]; then
|
||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
|
||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea;
|
||||
chmod +x ./tea;
|
||||
|
@ -59,7 +58,6 @@ jobs:
|
|||
fi
|
||||
echo 'pushed new branch and created pr';
|
||||
else
|
||||
echo 'there is a branch' origin/${{ env.DEVELOPMENT_BRANCH }};
|
||||
if [[ $(git diff origin/${{ env.DEVELOPMENT_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue