config: Update Stop hook to use SSH for git push
Changed from HTTPS to SSH URL (gitea@git.kavcorp.com:kavren/proxmox-infra.git) to fix authentication issues with auto-push. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "if git -C /home/kavren/proxmox-infra status --porcelain | grep -q .; then git -C /home/kavren/proxmox-infra add -A && git -C /home/kavren/proxmox-infra commit -m \"Auto-commit: $(date '+%Y-%m-%d %H:%M') session changes\" && git -C /home/kavren/proxmox-infra push; fi"
|
||||
"command": "if git -C /home/kavren/proxmox-infra status --porcelain | grep -q .; then git -C /home/kavren/proxmox-infra add -A && git -C /home/kavren/proxmox-infra commit -m \"Auto-commit: $(date '+%Y-%m-%d %H:%M') session changes\" && git -C /home/kavren/proxmox-infra push gitea@git.kavcorp.com:kavren/proxmox-infra.git; fi"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user