From 110ba605133e89592c2280c3c76cce07f10a9fc8 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Wed, 18 Feb 2026 11:33:59 +0200 Subject: [PATCH] Update the git url --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9d47bcc..9be2227 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,7 @@ deploy: # Push using GITLAB_TOKEN (Project Access Token with api scope) if [ -n "${GITLAB_TOKEN:-}" ]; then - git remote set-url origin "https://oauth2:${GITLAB_TOKEN}@gitlab.com/${CI_PROJECT_PATH}.git" + git remote set-url origin "https://oauth2:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git" git push origin "HEAD:${CI_COMMIT_REF_NAME}" && echo "Pushed values.yaml update successfully" || echo "Failed to push, continuing deployment anyway" else echo "GITLAB_TOKEN not set, skipping git push (values.yaml is updated locally for this deployment)"