From 93fe119a193e76009b5cb2cdf53819dd05b688d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Fri, 19 Nov 2021 11:36:12 +0100 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f2d6aaeb..1e3fd8d3f 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} -- GitLab