Live data from Hacker News

Doing stupid stuff with GitHub Actions

devopsdirective.com

1–10 of 46 posts

Re: Doing stupid stuff with GitHub Actions

#7
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:

1. Spin up a Python Flask web server on localhost

2. Run "wget --mirror" against it to crawl the site and save it as static files

3. Publish the resulting static files to GitHub Pages

The workflow is here. It's genius: https://github.com/pubstandards/pubstandards-london/blob/899...

Re: Doing stupid stuff with GitHub Actions

#9
post #7

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: 1. Spin up a Python Flask web server on localhost 2. Run "wget --mirror" against it to crawl the site and save it as static files 3. Publish the resulting static files to GitHub Pages The workflow is here. It's genius: https://github.com/pubstandards/pubstandards-london/blob/…

It's not often that I see things that are stupid but smart at the same time, so cool!

Re: Doing stupid stuff with GitHub Actions

#10
post #7

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: 1. Spin up a Python Flask web server on localhost 2. Run "wget --mirror" against it to crawl the site and save it as static files 3. Publish the resulting static files to GitHub Pages The workflow is here. It's genius: https://github.com/pubstandards/pubstandards-london/blob/…

Love it!

I have seen people doing fun things with GitHub Actions for the new GitHub profile readme feature as well.

This community chess game is one of my favorites https://github.com/timburgan/timburgan

It uses the creation GitHub issues on the repo as the input method/trgger which is a pretty clever hack.

Post reply on HN