Featured image of post Hugo Is Live

Hugo Is Live

Discussing a pivot to Hugo

I’ve been working out the steps for making this happen in Azure using my primary Jekyll blog.

I needed to break it down into a few key steps:

  1. Infrastructure
  2. setting up Azure, Azure Front Door, a domain and routing traffic
  3. Hugo
  4. setting up Hugo first in Linux, but then testing on another computer in WSL
  5. This meant having a proper GIT Repo in Forgejo
  6. CICD
  7. Getting my GIT provider actions (Forgejo/Gitea) working with the az CLI
  8. Creating an SP that could do non-interactive logins to expire the cache in Azure Front Door

So far this has been a fun experience.

My further refinements might involve:

  1. more narrowly scoping the SPs permissions
  2. looking at making a “test” site, perhaps something like “test.xxx.xxx” or using a different bucket (blob container) for a “preview” site
  3. Hugo plugins and refinement - all I really did was pick a theme

Lastly, I’ll evaluate if this is the right path to migrate Freshbrewed.science. Thats a 7Gb (compressed) GIT repo today and I might just archive for history and start fresh with Hugo.

I need to see some costing of Azure to compare with AWS today (S3 and CloudFront is really quite cheap).

comments powered by Disqus