<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Raspberry-Pi on Fer Toffolo</title><link>https://lazytechlead.com/blog/raspberry-pi/</link><description>Recent content in Raspberry-Pi on Fer Toffolo</description><generator>Hugo</generator><language>en-US</language><copyright>Copyright © 2025, Fer Toffolo.</copyright><lastBuildDate>Fri, 27 Nov 2026 12:20:00 +0100</lastBuildDate><atom:link href="https://lazytechlead.com/blog/raspberry-pi/index.xml" rel="self" type="application/rss+xml"/><item><title>How This Blog Deploys</title><link>https://lazytechlead.com/how-this-blog-deploys/</link><pubDate>Fri, 27 Nov 2026 12:20:00 +0100</pubDate><guid>https://lazytechlead.com/how-this-blog-deploys/</guid><description>&lt;p&gt;This blog runs on a Raspberry Pi at home, and publishing a post is now just a &lt;code&gt;git push&lt;/code&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The source lives in a GitHub repo. Pushing to &lt;code&gt;main&lt;/code&gt; starts a GitHub Actions job that builds the site with Hugo and publishes the output to a &lt;code&gt;deploy&lt;/code&gt; branch.&lt;/li&gt;
&lt;li&gt;On the Pi, a cron job runs every minute, fetches the &lt;code&gt;deploy&lt;/code&gt; branch and updates the files Caddy serves.&lt;/li&gt;
&lt;li&gt;Cloudflare Tunnel connects the Pi to the internet, so there are no open ports at home.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The whole setup, from the Caddy config to the list of sites, is a git repo too, so rebuilding the Pi from scratch is a single script.&lt;/p&gt;</description></item></channel></rss>