nugawiki

./categories/server

Jekyll Chirpy 테마 적용

업데이트 2026-07-21 조회수

Chirpy 테마 적용

테마: https://github.com/cotes2020/jekyll-theme-chirpy

# 1. repo 생성 후 테마 압축 해제
# 2. _config.yml 수정
git add .
git commit -m "init chirpy"
git push

bash tools/init.sh
  • GitHub Pages 소스를 빌드 결과 브랜치(gh-pages 등)로 설정
  • token에 workflow 권한 필요
  • .nojekyll 사용 → Actions로 _site를 별도 브랜치에 배포

빌드 실패 시 (수동 init)

# .travis.yml, _posts, docs 제거
# .github/workflows/pages-deploy.yml.hook 외 .github 정리
bundle
git push
  • Gemfile.lock이 원인일 수 있음 → .gitignore에 추가 후 repo에서 삭제
  • 브랜치명: tools/deploy.shPAGES_BRANCH="gh-pages"

./comments