diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f16710acf0c9fa1d0e3c84872520da3916bce361..88ab4f5316c10243417dbfb5afbb698dbeb495db 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,7 +71,7 @@ license_header: # we need to extract the ssh/git URL as the runner uses a tokenized URL - export CI_PUSH_REPO=`echo $CI_REPOSITORY_URL | perl -pe 's#.*@(.+?(\:\d+)?)/#git@\1:#'` - echo "$CI_PUSH_REPO" - - git remote set-url --push origin "${CI_PUSH_REPO}" + - git remote set-url --push origin git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git - echo "$CI_COMMIT_REF_NAME" # push changes # always return true so that the build does not fail if there are no changes