Add devcpone sync hook

This commit is contained in:
sas.fajri
2026-04-27 10:39:06 +07:00
parent 8ba3d33c6d
commit c11b8935a0
2 changed files with 50 additions and 0 deletions

8
.githooks/post-commit Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
repo_root=$(git rev-parse --show-toplevel)
if ! "$repo_root/scripts/devcpone_sync.sh"; then
printf '%s\n' "devcpone sync skipped/failed; commit kept intact" >&2
fi