diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f2d6aaeb2f606127f083a871aff1335e6fe9ce9..1e3fd8d3f1cb0f097525d16c8aa08c7257c080ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -51,9 +51,8 @@ license_header: - git add -f prova.txt - git commit -m "added prova.txt" || echo "No changes, nothing to commit!" - - echo ${CI_PROJECT_PATH} - - git remote set-url --push origin "ssh://git@gitlab.iri.upc.edu:2202${CI_PROJECT_PATH}.git" - - echo "$CI_COMMIT_REF_NAME" + - git remote set-url --push origin "ssh://git@gitlab.iri.upc.edu:2202/${CI_PROJECT_PATH}.git" + # push changes # always return true so that the build does not fail if there are no changes - git push origin HEAD:${CI_COMMIT_REF_NAME}