From 04211ddf715ce4dc34c0ff41e95a69788957875f Mon Sep 17 00:00:00 2001 From: koreafood Date: Sat, 31 Oct 2026 18:41:42 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=9A=A9=20=EB=8F=84=EB=A9=94?= =?UTF-8?q?=EC=9D=B8:=20teamat.lala.dedyn.io=20(og:image=20=EA=B8=B0?= =?UTF-8?q?=EC=A4=80=20URL=20=EC=A0=84=ED=99=98,=20=EB=B0=B0=ED=8F=AC=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=EC=97=90=20=EC=8B=A0=EA=B7=9C=20=EB=8F=84?= =?UTF-8?q?=EB=A9=94=EC=9D=B8=20=EC=83=81=ED=83=9C=20=EC=B6=94=EA=B0=80)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.py | 2 +- scripts/deploy.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index a8db141..1b60fc1 100644 --- a/build.py +++ b/build.py @@ -20,7 +20,7 @@ CONTENT = ROOT / "content" TEMPLATES = ROOT / "templates" ASSETS = ROOT / "assets" DIST = ROOT / "dist" -SITE_BASE = "https://home.lala.dedyn.io/teamat/" +SITE_BASE = "https://teamat.lala.dedyn.io/" VAR_RE = re.compile(r"{{\s*(\w+)\s*}}") LOOP_RE = re.compile(r"{{#(\w+)}}(.*?){{/\1}}", re.S) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index b9a62d7..10fa9b7 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -5,7 +5,8 @@ cd "$(dirname "$0")/.." REMOTE="admin@100.101.79.24" REMOTE_DIR="/share/CACHEDEV8_DATA/web/www/teamat/" -SITE_URL="https://home.lala.dedyn.io/teamat/" +SITE_URL="https://home.lala.dedyn.io/teamat/" # 서브패스(항상 유효) — 배포 성공 판정용 +SITE_URL2="https://teamat.lala.dedyn.io/" # 전용 도메인 — 인증서 발급 전에는 000 이 나올 수 있다 python3 build.py @@ -19,4 +20,6 @@ if [ "$status" != "200" ]; then exit 1 fi +status2="$(curl -s --max-time 15 -o /dev/null -w '%{http_code}' "$SITE_URL2" || true)" echo "배포 완료: ${SITE_URL} (HTTP ${status})" +echo "전용 도메인: ${SITE_URL2} (HTTP ${status2:-000})"