Commit fae4568
fix: use custom BUILD_FOR_GITHUB_PAGES env var
Changed from GITHUB_ACTIONS to BUILD_FOR_GITHUB_PAGES to control baseUrl:
- docusaurus.config.ts: Check BUILD_FOR_GITHUB_PAGES instead of GITHUB_ACTIONS
- deploy.yml: Set BUILD_FOR_GITHUB_PAGES=true for deployment builds
- test.yml: No special env needed, builds with local baseUrl by default
This prevents conflicts with the platform GITHUB_ACTIONS variable
and ensures tests always use local baseUrl (/) while deployment
uses GitHub Pages baseUrl (/docusaurus/).
Verified locally: All 69 tests pass (100%)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent ce52737 commit fae4568
3 files changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments