Commit 09655dd
authored
chore(pages): publish the canonical www bundle, retire the root upload (#104)
The GitHub Pages site was a 404, and two workflows were racing for it
while
neither could win: casket-pages.yml uploaded the repository root, which
contains no index.html at all (and would publish dns/, tls/,
security_headers/ and the rest of the repository past the published
boundary), while the Ddraig build was not guaranteed to produce a site.
* retire casket-pages.yml - the repository root is not a site
* the Ddraig build is now best-effort (continue-on-error), so a failed
Idris build can no longer stop the repository publishing
* add www/public/index.html, a placeholder in the same shape as the one
jtv-lang.dev serves, so there is always a servable homepage
* overlay the canonical bundle between the build and the upload:
www/public/ (no-clobber, so a page the SSG did produce always wins) and
www/.well-known/, so /.well-known/security.txt is reachable - RFC 9116,
and the RSR check on www/.well-known/security.txt
Additive only: nothing the SSG produces is replaced.
---
Verified before pushing: the workflow YAML parses, the overlay step sits
between the build and the upload, and the overlay script was extracted
from the YAML and executed against three cases — SSG produced nothing
(placeholder index and `/.well-known/security.txt` both published), SSG
produced a real page (not clobbered), and the Jekyll `_site/www` case
(bundle source removed). A leak check confirms `dns/` and the other
non-published subtrees never reach `_site`.
Note: the estate is carrying roughly 3,200 queued Actions runs from
earlier mass pushes, so this will not deploy immediately. That is a
queue backlog, not a failure of this change.1 parent a9fa798 commit 09655dd
3 files changed
Lines changed: 59 additions & 45 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
41 | 70 | | |
42 | 71 | | |
43 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments