Skip to content

feat: GitHub Pages デプロイ対応 + About ページ追加#20

Merged
sohei-t merged 1 commit intomainfrom
feat/github-pages-deploy
Feb 25, 2026
Merged

feat: GitHub Pages デプロイ対応 + About ページ追加#20
sohei-t merged 1 commit intomainfrom
feat/github-pages-deploy

Conversation

@sohei-t
Copy link
Owner

@sohei-t sohei-t commented Feb 25, 2026

Summary

  • Vite base パスを /text-diff-editor/ に設定し、GitHub Pages でアセットが正しく読み込まれるよう修正
  • CI ワークフローに deploy ジョブを追加(actions/deploy-pages 使用)
  • 技術解説ページ(about.html 日英切り替え対応)と音声解説(explanation.mp3)を追加

Changes

ファイル 変更内容
vite.config.ts base: '/text-diff-editor/' 追加
.github/workflows/ci.yml Pages デプロイジョブ追加、permissions 設定
public/about.html 技術解説ページ(日英切り替え)
public/explanation.mp3 音声解説

Test plan

  • npm test — 66テスト全パス
  • npm run build — ビルド成功、パスが /text-diff-editor/assets/... に変換されることを確認
  • dist/about.html, dist/explanation.mp3 がビルド出力に含まれることを確認
  • 機密情報スキャン — 問題なし
  • マージ後、GitHub Pages で動作確認

Fixes #18, Fixes #19

🤖 Generated with Claude Code

- Set Vite base path to '/text-diff-editor/' for GitHub Pages compatibility
- Add deploy job to CI workflow using actions/deploy-pages
- Add about.html (bilingual tech overview) and explanation.mp3 to public/

Fixes #18, Fixes #19

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sohei-t sohei-t merged commit a4cbfd7 into main Feb 25, 2026
2 checks passed
@sohei-t sohei-t deleted the feat/github-pages-deploy branch February 25, 2026 02:23
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.

About ページと音声解説の追加 GitHub Pages デプロイ対応: Vite base path 修正 + デプロイワークフロー追加

1 participant