Fix sync-vps-repos.sh remote URL mapping for CI build repo slug (ingglish-hyperdope-ci.git)

This commit is contained in:
Hermes Agent committed 2026-12-02 12:11:44 +00:00
1 parent f1792478b6
commit 224ce62fab
1 file changed
+5 -1
+5 -1
View File
@@ -117,7 +117,11 @@ if [[ "${DO_PULL}" -eq 1 ]]; then
fi fi
if [[ "${remote_name}" == "origin" ]]; then if [[ "${remote_name}" == "origin" ]]; then
forge_ssh="ssh://git@git.libre.audio:2222/seasharp" forge_ssh="ssh://git@git.libre.audio:2222/seasharp"
git -C "${REPOS_ROOT}/${repo}" remote set-url origin "${forge_ssh}/${repo}.git" || true slug="${repo}"
if [[ "${repo}" == "hyperdope-ci-build" || "${repo}" == "ingglish-hyperdope-ci" ]]; then
slug="ingglish-hyperdope-ci"
fi
git -C "${REPOS_ROOT}/${repo}" remote set-url origin "${forge_ssh}/${slug}.git" || true
fi fi
echo "[1/5] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch}) with autostash rebase..." echo "[1/5] Updating ${REPOS_ROOT}/${repo} (${remote_name}/${branch}) with autostash rebase..."
prev_head="$(git -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)" prev_head="$(git -C "${REPOS_ROOT}/${repo}" rev-parse HEAD)"