From 6b1c6ae52253ca42016f9a72593cf311e7156bc1 Mon Sep 17 00:00:00 2001 From: n3t1zen Date: Mon, 4 May 2026 13:10:46 +0800 Subject: [PATCH] try another solution --- bin/update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update b/bin/update index 7201141..862c0a6 100755 --- a/bin/update +++ b/bin/update @@ -9,7 +9,7 @@ REV_FILE="$ROOT/works/rev" # defaults REPO_URL="git@git.inker.bot:arknights/sing-box.git" if [ ! -z "$CI_JOB_TOKEN" ]; then - REPO_URL=$(echo $REPO_URL | sed "s/git@/gitlab-ci-token:$CI_JOB_TOKEN@/") + git config --global url."gitlab-ci-token:${CI_JOB_TOKEN}@git.inker.bot:".insteadOf "git@git.inker.bot:" fi UPSTREAM_BRANCH="main"