Using GitHub Actions, Azure Functions, Azure API Management and Google Analytics to display top posts on a Hugo Static Site

In this post, I show how I use GitHub Actions to call an Azure Function (through Azure API Management) that interacts with Google Analytics as part of the process to build my Hugo Static Site. The end result is that top posts are pulled into the Static Site Generation build process, rather than calling the Google Analytics API through JavaScript at runtime.

Blog

March 13, 2022
Using GitHub Actions and OpenID Connect to deploy Static Web Apps to Azure

Back in November, GitHub announced its OpenID Connect capability for cloud deployments was generally available. This has been on my list to try out, and I finally managed to get around to it! With scenarios like this, I prefer to do something real and hands-on, rather than mocked, or a proof of concept. I decided to refactor my GitHub Action workflows for cloudwithchris.com, removing the need for secrets stored in GitHub. In this post, I outline my journey through this.

Blog

February 22, 2022
Deploying Static Sites to Azure the cheap and performant way

Did you know that Static Sites can help you build performant sites that easily scale globally? Better yet, they can be incredibly cost-effective!

Talk

October 16, 2021
Choosing between Azure Static Web Apps and Static sites on Azure Storage

If you’ve seen any of my community talks, then you’ll be aware that Static sites and the Static Content Hosting Pattern is a passion area of mine. In Azure, there are a couple of great services that stand out when building towards this approach. These are Azure Static Web Apps and the Static sites functionality in Azure Blob Storage. But, which one is right for your scenario? Read on to find out more.

Blog

July 28, 2021
V017 - Weekly Technology Vlog #17

Welcome to weekly Vlog #17! We’ll be covering the latest from Azure, Azure DevOps, GitHub and Cloud with Chris! Chris also covers a new pet project he’s been working on, the Hugo CrossPoster!

Episode

April 26, 2021
JAMStack and the Cloud - A winning combination

When I mention the term JAMStack, I’m not pretending that I’m Paddington bear with a stack of Jam sandwiches! If you hadn’t heard, JAMStack is a term that describes applications based on JavaScript, APIs and Markup. That means, we’re referring to files that are content in nature. Think about files like HTML, CSS, Images, etc. Ok, now with that context - why has it risen in popularity? Surely this is something that could have been done for many years, so why now? My hypothesis… Cloud.

Blog

January 20, 2021
22 - Static Content Hosting Pattern (Save cost and gain performance for static websites!)

Do you have a site that is made up mostly of Static Content (e.g. HTML, JavaScript, CSS, Images)? Interested how you can optimise for performance and cost savings as well? Then join this episode as we talk through the Cloud Design Pattern, ‘The Static Content Hosting Pattern’. This is another episode in the series of Architecting for the Cloud, one pattern at a time.

Episode

January 15, 2021
Contributing to a Hugo Theme - The Castanet and  Hugo Community Themes

During the 2020 Festive Break, I had a lot of time on my hands. I took 4 weeks of my Annual Leave, which meant I had the majority of December to personal time. Personal time / time off is great, but I also wanted to push myself and catch up on some pieces that were on my personal learning or achievement list for some time. I started refreshing my knowledge around Rails (having developed in it some years ago, it’s progressed quite a bit!), NodeJS, GoLang and Rust. All interesting to learn, and I’m sure I’ll be continuing on my journey with these throughout 2021. But that’s not the point in this blog post. One of the activities that I kicked off was contributing into the Hugo Community. Read on to find out more.

Blog

January 6, 2021
V001 - Weekly Technology Vlog #1 (Blog, Hugo, Azure, GitHub & Azure DevOps)

In this video, Chris sets off his weekly technology vlog updates talking about some of the things he worked on over his December break including OSS Contributions. He also talks through some updates from the month of December across Azure, GitHub and Azure DevOps.

Episode

January 4, 2021
Deploying Static Sites to Azure the cheap and performant way

Did you know that static content can help you build performant sites that easily scale globally? Better yet, they can be incredibly cost-effective! Join Chris, as he talks through JAMstack (not related to Paddington bear - I promise!) and why you should care about it, Static Site Generators such as Hugo, Azure Hosting Options - Azure Storage vs Azure Static Web Apps and Combining Static sites with Serverless APIs

Presentation