Husky
Git hook management
Usage
See example husky integration at ~/kubernetes/flux-config/.husky/post-push
Install:
pamac install nodejs-husky
If pre-commit
was configured for this repo, move the pre-commit hook:
mv .git/hooks/pre-commit .husky
Add a hook, i.e.
mkdir .husky/
echo "task restart:all" > .husky/post-push