post-receive (340B)
1 #!/bin/sh 2 # Runs in the site container after every push over prime8.dev:22. A file in 3 # /srv/git/deploy/queue wakes the host's git-publish path unit, which 4 # regenerates the repo's pages and redeploys the site when it was prime8dev. 5 name=$(basename "$(pwd)" .git) 6 date > "${GIT_DEPLOY_DIR:-/srv/git/deploy}/queue/$name" 2>/dev/null || true