Doing stupid stuff with GitHub Actions
I really enjoyed Jonty Wareing's hack recently where he built a static site generator inside a GitHub Action that works by doing the following:<p>1. Spin up a Python Flask web server on localhost<p>2. Run "wget --mirror" against it to crawl the site and save it as static files<p>3. Publish the resulting static files to GitHub Pages<p>The workflow is here. It's genius: <a href="https://github.com/pubstandards/pubstandards-london/blob/89989bd3e3e2391425bc8e76055e90892635ec5a/.github/workflows/build.yml" rel="nofollow">https://github.com/pubstandards/pubstandards-london/blob/899...</a>