Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -65,4 +65,4 @@ sync: script: - echo "Destination url - ${GIT_PUSH_URL}" && git clone "${GIT_PUSH_URL}" /tmp/repo && cd /tmp/repo && git checkout "${GIT_PUSH_BRANCH:-master}" - git remote add upstream "${GIT_PULL_URL}" && git fetch upstream --tags && git pull --ff-only upstream "${GIT_PULL_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" && git push origin --tags Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -65,4 +65,4 @@ sync: script: - echo "Destination url - ${GIT_PUSH_URL}" && git clone "${GIT_PUSH_URL}" /tmp/repo && cd /tmp/repo && git checkout "${GIT_PUSH_BRANCH:-master}" - git remote add upstream "${GIT_PULL_URL}" && git fetch upstream --tags && git pull --ff-only upstream "${GIT_PULL_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" - git push origin "${GIT_PUSH_BRANCH:-master}" && git push origin --tags