Repository navigation
feat(sync): docs/*.md → Notion 역방향 동기화 구현 - #13
Merged
Merged
Conversation
sungbin1015
force-pushed
the
feat/md-to-notion-clean
branch
2 times, most recently
from
May 27, 2026 04:27
0c190d1 to
741a5af
Compare
Collaborator
Author
|
.notion-sync.json 역할 각 docs/{섹션}/ 디렉토리에 생성되는 상태 파일로, 아래 정보를 저장합니다. last_edited 기재로 인하여, 커밋할지말지를 판단시킵니다 |
- scripts/md_to_notion.py: git diff 기반 변경 감지 → Notion 업로드 (신규/수정/삭제 처리, MD→Notion blocks 변환, rate limit 대응) - .github/workflows/md-to-notion.yml: docs/**/*.md push 시 자동 실행 업로드 후 .notion-sync.json을 커밋·푸시해 server-sync 충돌 방지 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
sungbin1015
force-pushed
the
feat/md-to-notion-clean
branch
from
May 27, 2026 04:38
741a5af to
6c4bc98
Compare
…clean # Conflicts: # .github/workflows/md-to-notion.yml # CLAUDE.md # docs/about/.notion-sync.json # scripts/md_to_notion.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
로컬에서 docs/*.md 작성 후 git push 만 하면 Notion DB에 자동 반영됩니다.
신규 파일
scripts/md_to_notion.pylast_edited비교로 변경 감지 → Notion API(수정/신규/삭제)..env자동 로드.github/workflows/md-to-notion.ymldocs/**/*.md변경 포함 push 시 자동 트리거 →md_to_notion.py실행배경
로컬에서 마크다운으로 문서를 작성·편집한 뒤 git push 만으로
Notion 반영되는 워크플로우가 필요했습니다.
동작 흐름
Test plan
docs/**/*.md변경 push 시 Actions 자동 트리거 확인🤖 Generated with Claude Code