
Continous Deployment Hugo with Github Actions
Continous Deployment Hugo with Github Actions
Github Page
(이하 GH
)를 사용하여 정적 사이트를 배포 하고자 한다.
jekyll
유명한 Static Site Generator가 있지만 Go
를 공부할 목적으로 Hugo
를 선택했다.
Hugo는 Github Page에서 공식적으로 지원하는 jekyll
과 달리 로컬에서 정적 사이트를 빌드 하여 GH 저장소에 push
해주어야 한다.
Github 에서지원하는 CI/CD 인 Github Actions
을 이용하여 이를 자동화 할 수 있는데 Github Actions은 일반적은 CI/CD 와 사용법이 비슷하다.