Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 729 Bytes

README.md

File metadata and controls

43 lines (26 loc) · 729 Bytes

2232-defiance

IaC via Terraform

https://loganmarchione.com/2023/11/deploying-hugo-with-cloudfront-and-s3-for-real-this-time/

$ cd infra

$ terraform init

$ terraform apply

Hinode Hugo Theme

https://myrthos.net/blog/modifications/

Publishing Hugo-based content

Automate via GitHub Actions

See .github/workflows/

https://aws.amazon.com/blogs/security/use-iam-roles-to-connect-github-actions-to-actions-in-aws/

Manual from dev client

$ hugo

Followed by either:

$ hugo deploy

Or:

% aws s3 cp public/ s3://defiancehome-com --recursive --profile kampmeier-infra

% aws cloudfront create-invalidation --distribution-id E27WOJ1ENY5GKJ --paths "/*" --profile kampmeier-infra