#!/bin/bash## Example post-receive hook for server-side git repository.## Note: you'll need to populate HOOK_URL and HOOK_HMAC_KEY## set sane error modeset-eu
# set env varsexportHOOK_URL='https://example.com/hooks/deploy'exportHOOK_HMAC_KEY="omitted"# trigger webhook requestexec/data/www/example.com/git/bin/hook/fire.rb