Live data from Hacker News

Doing stupid stuff with GitHub Actions

devopsdirective.com

11–20 of 46 posts

Re: Doing stupid stuff with GitHub Actions

#11
post #4
post #2

nice site, it's clean

It's nice but it could be cleaner, by dropping the sidebar, and constraining the width of prose. See "Why is the text on your site so narrow? It wastes screen space." here: http://www.paulgraham.com/gfaq.html

Is it any better to use images for styling buttons instead of CSS?

Re: Doing stupid stuff with GitHub Actions

#12
post #2

nice site, it's clean

Also loaded very quickly for me. Static sites FTW!

...and its hosted on an f1-micro instance! (https://devopsdirective.com/posts/2020/03/load-testing-f1-mi...)

Almost all of the load is handled by CloudFlare though.

Re: Doing stupid stuff with GitHub Actions

#13
The "Holiday Reminder" could actually send a somewhat puzzling notification about you needing to check out the GitHub pipeline for a production failure. I would for sure forget about even setting it up and would shit my pants on New Year's Eve... and then have a good laugh on myself.

Re: Doing stupid stuff with GitHub Actions

#14
post #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.

Yeah I have an article about profile README hacks using Actions here: https://simonwillison.net/2020/Jul/10/self-updating-profile-...

Re: Doing stupid stuff with GitHub Actions

#15
post #14
post #10

Earlier quoted context omitted.

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.

Yeah I have an article about profile README hacks using Actions here: https://simonwillison.net/2020/Jul/10/self-updating-profile-...

Oh nice, I saw that one on the front page the other day.

Didn't realize it was you -- great post!

Re: Doing stupid stuff with GitHub Actions

#16

The "Holiday Reminder" could actually send a somewhat puzzling notification about you needing to check out the GitHub pipeline for a production failure. I would for sure forget about even setting it up and would shit my pants on New Year's Eve... and then have a good laugh on myself.

Haha, good point... I have another 5 months to fully forget that I ever set this up.

The name of the action does get included in the email notification so hopefully I'll be able to decypher it, even after some NYE celebration champagne!

Re: Doing stupid stuff with GitHub Actions

#17
For anybody interested in playing around with and hacking on different CI / devops stuff I recently launched https://boxci.dev, which is a distributed CI service where the builds run on your own hardware, via a lightweight runner that just does coordination and runs build shell commands on bare metal, so it's a bit more hackable / flexible than (for instance) GH actions / Gitlab CI.

It's free to sign up and play around with it, and I'd love to get the feedback of any HNs who think this could be useful (I basically built it because it's the CI service I want to exist, and I think others might too).

Post reply on HN