diff options
Diffstat (limited to 'git/hooks/whois-band')
| -rwxr-xr-x | git/hooks/whois-band/post-receive | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git/hooks/whois-band/post-receive b/git/hooks/whois-band/post-receive new file mode 100755 index 0000000..60b368f --- /dev/null +++ b/git/hooks/whois-band/post-receive @@ -0,0 +1,8 @@ +#!/bin/bash +set -e +APP_DIR=/app/whois-band +GIT_WORK_TREE=$APP_DIR git checkout -f +cd $APP_DIR +mkdir -p data +docker compose up -d --build +echo "Deploy complete: whois-band" |
