I hadn’t updated my theme for a while. I have been getting deprecation warnings on a few things for some time and they turn into deprecation errors in the next version of Hugo, so it was time to fix them.

The hardest part was making git understand that I wanted to use an ssh-key to update the submodule. Updating should have been as simple as:

cd theme\harbor
$ git add .
$ git commit -m "update syntax"
$ git push

However, git was convinced that I wanted to do the push using https with user id and password rather than use my ssh key. The first thing made a lot of sense. I needed to checkout the branch using git checkout master. That worked but didn’t help me with the authentication problem. I had to change the url for the remote by using git remote set-url orgin git@github.com:rericsson/myblog.git.

After that, it was just updating the stuff that was deprecated and the version of Hugoon Netlify to 0.129.0. If you are seeing this, it worked.

hugo