How to schedule Hugo deployments with GitHub Actions

In this article I’m going to show you how to create a GitHub workflow which automatically deploys a hugo website on a set schedule. Add access keys I host this website on AWS CloudFront. In order for GitHub to be able to deploy my website, it needs access to my AWS account. In my last article you learned how to create an IAM user with the necessary permissions for deploying a Hugo website....

September 17, 2023 · 2 min · Favian Flores

How to deploy a Hugo website to CloudFront using Hugo Deploy

In this article, I’m going to show you how to use Hugo’s built-in hugo deploy command to deploy your site to a CloudFront distribution. You’re going to learn how to set up an IAM user on AWS, authenticate the AWS CLI, and configure the Hugo CLI so that you can deploy your Hugo website using 1 command. Before you begin, make sure you have a CloudFront distribution with an S3 bucket as an origin....

September 16, 2023 · 4 min · Favian Flores