Commit 336e427
authored
infra: remove dead Hashnode cross-post channel (#20)
Hashnode has been failing every cross-post run for the past month
(seen on 2026-05-12 and again on 2026-05-18, both with the same
"Unexpected token '<', '<!DOCTYPE'..." symptom indicating the API now
returns HTML where it used to return JSON). The platform itself
appears to be defunct, so rather than chase a moving API surface,
this removes the integration entirely.
Removed:
- scripts/channels/hashnode.mjs (the channel module)
- scripts/__tests__/hashnode.test.mjs (5 tests, all green prior)
- Hashnode entries in the cross-post.yml and update-cross-post.yml
workflow env blocks (HASHNODE_TOKEN, HASHNODE_PUBLICATION_ID)
- Hashnode imports + ALL_CHANNELS entries in scripts/cross-post.mjs
and scripts/update-cross-post.mjs
- Mentions of Hashnode in usage docstrings and the update-cross-post
channels description
Remaining cross-post surface: dev.to (post + update) and Bluesky
(post only). Both still passing the unit suite (32 tests, was 37).
Build clean, 17 pages.
The HASHNODE_TOKEN and HASHNODE_PUBLICATION_ID GitHub Secrets are
left in place since removing them via the API is out of scope for
this PR; harmless once nothing references them.1 parent 3724895 commit 336e427
6 files changed
Lines changed: 7 additions & 207 deletions
File tree
- .github/workflows
- scripts
- __tests__
- channels
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | 39 | | |
42 | 40 | | |
43 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
| 19 | + | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
89 | | - | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
0 commit comments