diff options
Diffstat (limited to 'git/hooks/whois-band/post-receive')
| -rwxr-xr-x | git/hooks/whois-band/post-receive | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/hooks/whois-band/post-receive b/git/hooks/whois-band/post-receive index 60b368f..de4d7c7 100755 --- a/git/hooks/whois-band/post-receive +++ b/git/hooks/whois-band/post-receive @@ -4,5 +4,7 @@ APP_DIR=/app/whois-band GIT_WORK_TREE=$APP_DIR git checkout -f cd $APP_DIR mkdir -p data +# push でデプロイしたら管理画面の停止状態を解除する +sed -i '/^whoisband$/d' /app/infra/status/stopped.txt 2>/dev/null || true docker compose up -d --build echo "Deploy complete: whois-band" |
