switch to tc

This commit is contained in:
n3t1zen
2026-05-04 22:35:22 +08:00
parent 69092bb4f7
commit e694eb621f
2 changed files with 2 additions and 41 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ REV_FILE="$ROOT/works/rev"
# defaults
REPO_URL="git@git.inker.bot:arknights/sing-box.git"
if [ ! -z "$CI_JOB_TOKEN" ]; then
if [ ! -z "$DEPLOY_TOKEN" ]; then
git config --global user.name imabot
git config --global user.email ci@inker.bot
git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@git.inker.bot/".insteadOf "git@git.inker.bot:"
git config --global url."https://${DEPLOY_TOKEN_USER}:${DEPLOY_TOKEN}@git.inker.bot/".insteadOf "git@git.inker.bot:"
fi
UPSTREAM_BRANCH="main"