4 lines
743 B
Markdown
Raw Normal View History

2024-02-23 19:03:01 -07:00
# Personal website
2024-02-23 21:18:47 -07:00
A simple static site built with HTML, CSS and JavaScript. Hosted on AWS S3 and distributed globally through AWS Cloudfront. Code updated automatically.
## Backend workflow
This static site is hosted on an AWS S3 bucket, which is cached and served globally through AWS Cloudfront Edge Locations. The code is programatically updated with GitHub Actions every time the master branch is merged. The action is set up with a declarative `.yaml` file that uploads the source code and assets to the S3 bucket. The workflow then invalidates the Cloudfront distribution cache so that the latest site content is pulled from the origin bucket. For authentication, the action uses access and secret keys from an authorized AWS IAM user.