Life online, one post at a time

Rsync Deployment with GitLab CI/CD

By on

I had a thought about blogging while cruising Adactio: if it takes more than 30 seconds to make a finished post live, it’s probably not going to get published. I have this problem.

After I write something, I build my site with Hugo, and then rsync it up to the server. But there’s no reason for me to do that manually anymore since it can be automated with GitLab. Using SSH keys with GitLab CI/CD and CI rsync Deployment had everything I needed to get it done.