Commit dab1a01
committed
ci: rebuild website workflow without the texlive Docker image
The pipeline shelled out to a hand-maintained 3.4 GB texlive build-env
image on Docker Hub (last rebuilt 2019, Node ~2019). The Jun-7 Hexo 8 /
chokidar 4 upgrade needs Node >= 20.19, so that stale container failed at
'Cannot find module fs/promises'.
Replace it with a native, Docker-free workflow: checkout@v4 + setup-node@v4
(Node 22, npm cache), npm ci, build the Hexo site, and deploy over SSH with
the existing SERVER_* secrets. The website needs only Node and Python 3, so
no texlive is required. PDF/epub are no longer rebuilt in CI; the copies on
the server are left untouched (scp overwrites, never deletes) so their
download links keep working.1 parent 490a6ac commit dab1a01
1 file changed
Lines changed: 26 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
16 | 36 | | |
17 | 37 | | |
18 | 38 | | |
19 | 39 | | |
20 | 40 | | |
21 | 41 | | |
22 | | - | |
23 | | - | |
| 42 | + | |
24 | 43 | | |
25 | 44 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 45 | + | |
| 46 | + | |
0 commit comments