Loading gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ sync: - cd /tmp/repo - git checkout "${GIT_PUSH_BRANCH:-master}" - git remote add upstream "${GIT_PULL_REPO}" - test -n "${GIT_TAGS}" && git fetch upstream --tags - test -n "${GIT_TAGS}" && git fetch upstream --tags || true - git pull --ff-only upstream "${GIT_PULL_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" - test -n "${GIT_TAGS}" && git push origin --tags - test -n "${GIT_TAGS}" && git push origin --tags || true Loading
gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ sync: - cd /tmp/repo - git checkout "${GIT_PUSH_BRANCH:-master}" - git remote add upstream "${GIT_PULL_REPO}" - test -n "${GIT_TAGS}" && git fetch upstream --tags - test -n "${GIT_TAGS}" && git fetch upstream --tags || true - git pull --ff-only upstream "${GIT_PULL_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" - test -n "${GIT_TAGS}" && git push origin --tags - test -n "${GIT_TAGS}" && git push origin --tags || true