diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b7d3c12c6e48dfca531b680f7ce586a1eef982ee..8d2f7726c23688239c2c892f66d6ca26e9944abe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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