diff --git a/DEPLOY.md b/DEPLOY.md index 3bab257..cbdcb58 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -4,7 +4,7 @@ | 경로 | 대상 | 설정 | | --- | --- | --- | -| GitHub Pages | 공개 사이트 (`https://cobool.github.io`) | `.github/workflows/deploy-pages.yml` | +| GitHub Pages | 공개 사이트 (`https://blog.boolean.kr`) | `.github/workflows/deploy-pages.yml` | | nginx 컨테이너 | 홈랩 | `Dockerfile` · `deploy/nginx.conf` | 둘은 독립적입니다. 아래 캐시 정책과 보안 헤더는 **nginx 경로에만 적용됩니다** — GitHub Pages는 커스텀 응답 헤더를 지원하지 않으므로 CSP·`nosniff`·`Cache-Control`이 모두 GitHub의 기본값으로 대체됩니다. diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 5e90780..77feae4 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -24,6 +24,11 @@ export const metadata: Metadata = { authors: [{ name: siteConfig.author.name }], creator: siteConfig.author.name, publisher: siteConfig.author.name, + verification: { + other: { + "naver-site-verification": "43f4855c07e8a3aa41b09963d118eafa849c2637", + }, + }, } export const viewport: Viewport = { diff --git a/tests/stage-7-seo-feed-integrations.test.tsx b/tests/stage-7-seo-feed-integrations.test.tsx index 5c7b3a6..96c87f0 100644 --- a/tests/stage-7-seo-feed-integrations.test.tsx +++ b/tests/stage-7-seo-feed-integrations.test.tsx @@ -52,6 +52,13 @@ describe("stage 7 seo feed and integration gates", () => { expect(searchMetadata.robots).toEqual({ index: false, follow: true }) }) + it("Given root layout metadata When reading verification Then naver site verification is configured", async () => { + const { metadata: rootMetadata } = await import("../src/app/layout") + expect(rootMetadata.verification?.other?.["naver-site-verification"]).toBe( + "43f4855c07e8a3aa41b09963d118eafa849c2637", + ) + }) + it("Given valid public integration env When parsing config Then giscus, GA, and Kakao are enabled", () => { const integrations = getPublicIntegrations({ NEXT_PUBLIC_GA_MEASUREMENT_ID: "G-ABC123DEF4",