Deploy a Hugo Blog Github Actions

Intro Hi folks. Today I thought I show you how you can use Github Actions to deploy a hugo based blog like this one. Let’s dive in. Actions What are actions? If you read the above linked document they are basically steps performed in containers based on some events that happened with your repository. Events can be such as pushing, creating a PR or creating/closing an issue etc. We need an even on a push....

March 19, 2019 · 5 min · hannibal

Deploy a Hugo Blog with Travis on Git Push

Intro Hi folks. I’ve been using the Hugo build for wercker for a long time now. Recent problems occurred though where I did not understand at first what the problem was. It was quite difficult to debug since I did not have too much insight on the wercker build itself. Turned out that I deleted the GITHUB token that the process was using. However, the error message was telling me that a function failed to load some other function....

March 18, 2019 · 4 min · hannibal

How to HTTPS with Hugo LetsEncrypt and HAProxy

Intro Hi folks. Today, I would like to write about how to do HTTPS for a website, without the need to buy a certificate and set it up via your DNS provider. Let’s begin. Abstract What you will achieve by the end of this post: Every call to HTTP will be redirected to HTTPS via haproxy. HTTPS will be served with Haproxy and LetsEncrypt as the Certificate provider. Automatically update the certificate before its expiration....

February 15, 2017 · 9 min · hannibal

Hugo Autodeploy with Wercker and Github - Pages

There already is a nice tutorial on how to create github-pages with Hugo Here if you prefer deplying your pages to a different branch on the same repo. There is also a post about Wercker and Hugo Here deploying pages to said separate branch. However, I took an easier approach on the matter with a completely separate branch for my blog source and my compiled github pages. This blog sits here: https://github....

February 10, 2016 · 2 min · hannibal