diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-17 16:49:57 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-17 16:49:57 -0400 |
commit | 6a2e555a0ae7a8cfb9225d1004b578eb7b715d3b (patch) | |
tree | e33cf3a523a84e5a449f207c3e27b256696a1241 /bin/hook/README.md | |
parent | e2622959a2234c7679c5c3eb18ba8642a1ce3a13 (diff) | |
download | pablotron.org-6a2e555a0ae7a8cfb9225d1004b578eb7b715d3b.tar.bz2 pablotron.org-6a2e555a0ae7a8cfb9225d1004b578eb7b715d3b.zip |
add bin/hook/post-receive
Diffstat (limited to 'bin/hook/README.md')
-rw-r--r-- | bin/hook/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
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" |