llighter / yunha-ind

YUNHA INDUSTRY website
https://llighter.github.io
MIT License
1 stars 0 forks source link

Blog 자동 배포 시스템 및 포스팅 글 스케쥴링 기능 추가하기 #76

Open llighter opened 3 years ago

llighter commented 3 years ago

Is your feature request related to a problem? Please describe. 실제 혼자 글을 작성하는 나에게 있어서 이 기능은 크게 필요하지 않지만 추후 배포 자동화 및 글 스케쥴링 기능을 구현하고 싶은 경우 사용할 수 있다.

Describe the solution you'd like web.dev는 주기적으로 소스를 배포하는데 이 때 특정 글을 스케쥴링 해두면 날짜를 체크해서 바로 배포가 가능하도록 등록해둘 수 있다.

Describe alternatives you've considered 나는 글이 아직 많지 않고 굳이 내가 직접올리지 않고 자동화할 필요는 없기 때문에 어떠한 소스들을 참조해야하는지 적어두기로 한다.

Additional context 스케쥴 기능에 대한 설명을 읽을수 있는 글 템플릿 https://github.com/GoogleChrome/web.dev/tree/master/src/site/_drafts/_template-post

실제 라이브 포스트 필터 내에서 사용 https://github.com/GoogleChrome/web.dev/blob/9597ae7a380bb214cfdd00b0969d128597136f68/src/site/_filters/live-posts.js#L63-L69

라이브 포스트는 컬렉션을 만들때 사용을 한다. https://github.com/GoogleChrome/web.dev/blob/master/src/site/_collections/blog-posts-descending.js