Ensure run-vps-data-production.sh sets origin remote URL to SSH forge (ssh://git@git.libre.audio:2222/seasharp) prior to push, preventing HTTPS credential prompts
This commit is contained in:
1 parent
576ac40f25
commit
888e847d41
2 files changed
+3
-1
No files matched your search
@@ -137,6 +137,8 @@ if [[ "${DO_PUSH}" -eq 1 ]] && [[ -f "/etc/hyperstitionstud.io/id_ed25519_git_li
|
||||
git -C "${REPOS_ROOT}/${r}" config user.name "Hyperstition VPS Bot"
|
||||
git -C "${REPOS_ROOT}/${r}" config user.email "vps-bot@hyperstitionstud.io"
|
||||
fi
|
||||
forge_ssh="ssh://git@git.libre.audio:2222/seasharp"
|
||||
git -C "${REPOS_ROOT}/${r}" remote set-url origin "${forge_ssh}/${r}.git" || true
|
||||
git -C "${REPOS_ROOT}/${r}" add -A
|
||||
if ! git -C "${REPOS_ROOT}/${r}" diff --cached --quiet; then
|
||||
run_checked "git commit (${r})" git -C "${REPOS_ROOT}/${r}" commit -m "chore(telemetry): automated VPS ${WINDOW_MODE} harvest (${STAMP_UTC})" || true
|
||||
|
||||
Reference in new issue
Block a user