Commit d728190
refactor: rewrite deploy-gh-pages back to bash
The Node.js rewrite was 325 lines for functionality that fits naturally
in ~289 lines of bash. The deploy script's core job is git operations
(fetch, copy, add, commit, push) which read more naturally in shell.
Changes from the original 88-line script:
- Rebase-based retry replaces sleep-based retry (instant vs 2+ minutes)
- Cleanup of stale PR/branch dirs integrated (was separate workflow step)
- Index regeneration integrated (was in build-orchestrator.js)
- Token auth via http.extraHeader (was in remote URL, leaked in logs)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 238a361 commit d728190
6 files changed
Lines changed: 300 additions & 336 deletions
File tree
- .github/workflows
- build/scripts
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
This file was deleted.
0 commit comments