blob: de4d7c752175c2a646b9f0c4195add90cc691ae4 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
set -e
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"
|