CI/CD pipeline for updating this site

Intro

Manually logging into remote server and copying over changed files can be tedious. As they say, if you’re doing something often and it cost you lot of time - automate it! In this post I want to show you how this blog is being updated after changes are made.

Tech stack

Im using Hugo - a go open-source framework for creating static websites. It’s really fast and easy to setup. All pages are represented as Markdown files and are translated to HTML. For this site I’m using Terminal theme, it’s cool isn’t it? All relevant files are sotred as git repository on GitHub. It enables me to use Github Actions for defining pipeline to copy site over SSH to my VPS.

Homelab tour 1

Hi, in my very first blog post ever, I’m very excited to show you how and what is being hosted in my homelab. Let’s take a look around!

Hardware

In the past, when SBC’s weren’t as efficient and cheap as now I had been using an old Dell Optiplex PC for some time. Then I realised that I could lower my power bill as well as save some precious space in my room by switching to something smaller. I wanted to try something less popular than the Raspberry Pi so I decided to give the Orange Pi Zero 3 a try. It has a quad-core Allwinner H618 ARM CPU paired with 4GB of LPDDR4 RAM. As for peripherals it has a USB 2.0 port and most importantly a single gigabit NIC. I’m aware that those specs aren’t spectacular, but almost any modern smartphone lying around in a drawer will perform better, but considering my current needs it’s my sweet spot. This server could also be used as a Wake-On-LAN server in the future to turn on more powerful servers when needed.