Skip to content

chore(deploy): Cloudflare Pages 전환 + blog.brain-crew.com 도메인 적용#36

Open
seongyeon1 wants to merge 1 commit into
mainfrom
chore/cloudflare-domain-migration
Open

chore(deploy): Cloudflare Pages 전환 + blog.brain-crew.com 도메인 적용#36
seongyeon1 wants to merge 1 commit into
mainfrom
chore/cloudflare-domain-migration

Conversation

@seongyeon1

Copy link
Copy Markdown
Collaborator

개요

배포를 GitHub Pages → Cloudflare Pages (Git 연동) 로 전환하고, 커스텀 서브도메인 blog.brain-crew.com을 적용합니다.

변경 사항

  • docusaurus.config.ts
    • url: https://braincrew-lab.github.iohttps://blog.brain-crew.com
    • baseUrl: /brain-cache//
    • footer RSS 링크를 새 도메인으로 갱신
  • static/robots.txt: sitemap URL을 새 도메인으로 갱신
  • .github/workflows/deploy.yml 제거: Cloudflare Pages Git 연동이 빌드·배포를 담당 (이중 배포 방지)
  • .gitignore: __pycache__/ 추가

검증

  • npm run build 성공
  • 빌드 산출물에 /brain-cache/ 잔재 없음 확인
  • build/sitemap.xml 호스트가 https://blog.brain-crew.com 루트로 생성됨 확인

머지 후 필요한 수동 작업 (Cloudflare 대시보드)

  1. Workers & Pages → Create → Pages → Connect to Git → braincrew-lab/brain-cache
  2. Build command npm run build, Output dir build, Production branch main (필요 시 NODE_VERSION=20)
  3. Custom domains → blog.brain-crew.com 연결 (CNAME → <project>.pages.dev)
  4. 기존 GitHub Pages(Settings → Pages) 비활성화

giscus 댓글(Comments.tsxorganizationName/projectName은 GitHub repo 식별자라 도메인 변경 영향 없음.

🤖 Generated with Claude Code

- docusaurus.config: url을 blog.brain-crew.com으로, baseUrl을 /로 변경
- footer RSS 링크 / robots.txt sitemap을 새 도메인으로 갱신
- GitHub Pages 워크플로우 제거 (Cloudflare Pages Git 연동이 빌드·배포 담당)
- __pycache__ gitignore 추가

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@seongyeon1 seongyeon1 requested a review from ash-hun as a code owner June 18, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant