Skip to content

Commit 504f477

Browse files
peoplewhiteclaude
andcommitted
fix: 添加 GitHub Actions post-build 步驟
- 修正 GitHub Pages 根目錄 404 問題 - 確保 scripts/post-build.js 在部署時執行 - 自動生成根 index.html 語言選擇頁面 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d117d91 commit 504f477

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Build with Next.js
3535
run: npm run build
3636

37+
- name: Post-build setup
38+
run: node scripts/post-build.js
39+
3740
- name: Upload artifact
3841
uses: actions/upload-pages-artifact@v3
3942
with:

0 commit comments

Comments
 (0)