diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9486377badd4c49784efb55976342b6fd738c4b3..3c1ff06796571b7089838d8d1d6e6bb7de8c9a2b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,7 +89,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 git@gitlab.iri.upc.edu:2202/mobile_robotics/wolf_projects/wolf_lib/wolf.git + - git remote set-url --push origin ssh://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