feat: add git hooks for pre-push validation and post-merge auto-deploy
Validate and Test / validate-patches (push) Failing after 12s

- .githooks/pre-push: validate Pd patches via python3 pd-validator
- .githooks/post-merge: auto-restart services when systemd/scripts change
- install.sh: configure core.hooksPath at install time
- justfile deploy: set hooksPath after git pull
This commit is contained in:
2026-06-24 03:19:51 -07:00
parent ce4022fa1c
commit 0382450f8b
4 changed files with 56 additions and 0 deletions
+3
View File
@@ -27,4 +27,7 @@ for svc in "${SERVICES[@]}"; do
sudo systemctl enable "$svc"
done
# Install git hooks: point to repo's .githooks so post-merge auto-restarts services
git config core.hooksPath "$REPO/.githooks"
echo "[OK] Services installed and enabled"