Commit 2fcf156838ef

Vincent Demeester <vincent@sbr.pm>
2026-07-28 16:57:36
fix(kyushu): use https for home clone, ssh for push
Allows initial clone without SSH access to carthage. Push still goes through SSH once keys are deployed.
1 parent f12eb52
Changed files (1)
imperative
imperative/kyushu/clone-repos.sh
@@ -42,7 +42,11 @@ echo
 
 # --- Home infra (carthage) ---
 clone_or_check ~/src/home \
-  "vincent@carthage.vpn:/home/vincent/git/public/home.git"
+  "https://git.sbr.pm/home.git"
+# Add SSH push URL for home (pull via https, push via SSH)
+if [[ -d ~/src/home/.git ]]; then
+  git -C ~/src/home remote set-url --push origin "vincent@carthage.vpn:/home/vincent/git/public/home.git"
+fi
 clone_or_check ~/src/www \
   "vincent@carthage.vpn:git/public/www.git"