all InfoSec news
Using my new Raspberry Pi to run an existing GitHub Action
DEV Community dev.to
Recently, I mentioned how I refactored the script that kept my GitHub profile up-to-date. Since Geecon Prague, I'm also a happy owner of a Raspberry Pi:
// Detect dark theme
var iframe = document.getElementById('tweet-1715313240568197233-92');
if (document.body.className.includes('dark-theme')) {
iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1715313240568197233&theme=dark"
}
Though the current setup works flawlessly - and is free, I wanted to experiment with self-hosted runners. Here are my findings.
Context
GitHub offers a large free usage of GitHub Actions:
GitHub Actions usage is free for standard GitHub-hosted …
action body current dark detect document free github github action githubactions iframe profile raspberry raspberrypi run script theme up-to-date var