Skip to content

Deploy book with GitHub Pages actions - #86

Merged
jsshin2022 merged 1 commit into
mainfrom
ci/deploy-pages
Oct 18, 2026
Merged

jsshin2022 merged 1 commit into
mainfrom
ci/deploy-pages

Conversation

@jsshin2022

Copy link
Copy Markdown
Member

Status

Review Required

Description

#85 머지 후 main의 Book 워크플로가 배포 단계에서 실패해 웹북이 갱신되지 않았습니다. gh-pages 브랜치가 보호 규칙에 걸려 push가 거부됐습니다(GH006: Protected branch update failed).

브랜치에 push하는 방식 대신 GitHub 공식 Pages 배포(actions/upload-pages-artifact + actions/deploy-pages)로 바꿨습니다. 빌드 결과를 Pages에 직접 올리므로 브랜치 보호 규칙과 상관없이 배포됩니다.

  • PR에서는 지금처럼 빌드 확인과 book-preview 아티팩트만
  • main push 시 deploy 잡이 Pages에 배포
  • 권한: contents: read, pages: write, id-token: write

머지 전 설정: Settings → Pages → Build and deployment → Source를 GitHub Actions로 바꿔 주세요.


Generated by Claude Code

The push to gh-pages is rejected by branch protection (GH006), so the
merged book never got published. Upload the build as a Pages artifact
and deploy it directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WELSFHaGT1Gh5sSRyUvAMx
@jsshin2022
jsshin2022 merged commit fdf0f53 into main Oct 18, 2026
2 checks passed
@jsshin2022
jsshin2022 deleted the ci/deploy-pages branch October 18, 2026 16:01
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.

3 participants