Re:Doing stupid stuff with GitHub Actions
by buzzerbetrayed on Saturday July 25, 2020 @06:47PM
(#23952983)
Genuine question: what is smart about this? What is the reasoning for not just writing the static assets by hand?
[ Parent
| on HN ]
The site already existed, but they wanted to serve it statically to save on complexity and money.
If you dig into the repo you'll see that it's maintained using a YAML file, which is a smart way to deal with small sites that still contain structured content.
I do the same thing for my https://github.com/simonw/museums site.
Re:Doing stupid stuff with GitHub Actions
by withinboredom on Saturday July 25, 2020 @06:53PM
(#23953016)
Some possibilities come to mind:
1. because the people writing the content are not developers. 2. there’s dynamic content, but when you know you’re going to get a large influx of traffic from a single region/event, you can precompute it for a short period.