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>
For anybody interested in playing around with and hacking on different CI / devops stuff I recently launched <a href="https://boxci.dev" rel="nofollow">https://boxci.dev</a>, 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.<p>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).
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.
Reminds me of my first year in college, when we'd log into each other's machines at the computer lab for some intro to computing class, and launch a fork-bomb script that simply launched itself twice, quickly rendering the machine useless. The tricky part was to test it without halting your own machine, as a newbie programmer and Unix user.
I've used GH Actions to replicate LinkedIn's Endorsements feature on their new Profile Readme feature: <a href="https://github.com/sw-yx/sw-yx" rel="nofollow">https://github.com/sw-yx/sw-yx</a>
Unlike the authoer, I haven't found Github Actions very intuitive to work with :)<p>I've asked this before on a similar post, maybe someone here knows. Has anyone managed to get a Pre-Release to track Master using Github Actions? I can't seem to find a working example that does this (and I can't seem to cobble one together myself)<p>There are a few things that are seemingly intentionally left out of GitHub Actions... like you can create new Releases on a push, but there is no direct way to delete/update a release with fresh builds.<p>I know you can just get build artifacts - but those are not publicly available and hard to link people to.
Alternative idea for exponential action: action that creates another action (automate a headless browser, or maybe github has an api for that?). Kill switch: delete the repo :)
With the new GitHub profile README feature, GitHub Actions gained a lot of traction. I'm using it to automatically display my latest blog post [1].<p>[1] <a href="https://darekkay.com/blog/github-profile-readme/" rel="nofollow">https://darekkay.com/blog/github-profile-readme/</a>
I work on a product similar to Github Actions: <a href="https://cto.ai/" rel="nofollow">https://cto.ai/</a> but there is a built in interaction layer for interacting from Slack channels.