From 6a2e555a0ae7a8cfb9225d1004b578eb7b715d3b Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 17 Oct 2021 16:49:57 -0400 Subject: add bin/hook/post-receive --- bin/hook/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/hook/README.md') diff --git a/bin/hook/README.md b/bin/hook/README.md index aebe5c6..4c90c7e 100644 --- a/bin/hook/README.md +++ b/bin/hook/README.md @@ -10,6 +10,8 @@ These scripts are used to fire and handle webhooks. * `deploy.rb`: Verify time in from payload body (to prevent replay attacks), execute `git pull`, execute `hugo --minify`, and finally update the `htdocs` symlink. +* `post-receive`: Example [Git][] `post-receive` hook. [sha256]: https://en.wikipedia.org/wiki/SHA-2 "SHA256" [hmac]: https://en.wikipedia.org/wiki/HMAC "Hashed Message Authentication Code" +[git]: https://git-scm.com/ "Git version control software" -- cgit v1.2.3