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.