Skip to content

Commit

Permalink
some updates
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwkipp committed Jul 25, 2024
1 parent 50d25eb commit fc5620c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Sync src to S3
run: |
aws s3 sync src s3://brandonwkipp.com --cache-control public,max-age=0,must-revalidate --include "*" --exclude "*.css" --exclude "images/*" --delete
aws s3 sync src s3://brandonwkipp.com --cache-control public,max-age=0,must-revalidate --include "*" --exclude "*.css" --exclude "images/*" --exclude "src/blog" --delete
aws s3 sync src s3://brandonwkipp.com --cache-control public,max-age=31536000,immutable --exclude "*" --include "*.css" --delete
aws s3 sync s3://brandonwkipp-images s3://brandonwkipp.com/images --cache-control public,max-age=31536000,immutable --delete
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# brandonwkipp.com
This repository contains the code for my personal website. In the past I've used more complex frameworks and libraries (and `javascript`), but have decided to go back to raw `html` and `css` for the time being. Is that a ridiculous thing to do? Probably. But, it is difficult to deny how much better I feel working on my own website though.
This repository contains the code for my personal website. In the past I've used more complex frameworks and libraries (and `javascript`), but have decided to go back to raw `html` and `css` for the time being. Is that a ridiculous thing to do? Probably. I don't care.

## Infrastructure & Deploymen Process
I host the contents of my website on AWS. I maintain my infrastructure via `terraform` which you can see in the `main.tf` file. I store everything in `terraform` except `dns`; storing domain information in `terraform` is in my opinion, a bad idea. Anyways, When I push changes, a Github Action syncs the entire repository to an S3 bucket and invalidates the previous cache that exists in AWS CloudFront. The whole deployment process takes ~10s.
## Infrastructure & Deployment Process
The website is hosted on AWS and maintained via `terraform` in the `main.tf` file. Everything is stored in `terraform` except `dns`; storing domain information in `terraform` is a bad idea. When changes are pushed, a Github Action syncs the entire repository to an S3 bucket and invalidates the previous cache in AWS CloudFront. The whole deployment process takes ~10s.
3 changes: 0 additions & 3 deletions scripts/fetch-cv.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ axios.get('https://raw.githubusercontent.com/brandonwkipp/cv/main/README.md')
<a href="/">
<li>Home</li>
</a>
<a href="/blog">
<li>Blog</li>
</a>
</ul>
</div>
</nav>
Expand Down
14 changes: 0 additions & 14 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
<div></div>
</label>
<ul id="menu">
<a href="/blog">
<li>Blog</li>
</a>
<a href="/resume">
<li>Resume</li>
</a>
Expand All @@ -47,19 +44,9 @@ <h2>Brandon W. Kipp</h2>
<section>
<nav aria-label="Primary Navigation">
<h3>Site Navigation</h3>
<a class="decoration" href="/blog">
<div>
<h2 class="text-light">Blog</h2>
<p class="text-light">My thoughts</p>
<div class="image-container">
<i class="fa fa-book-open"></i>
</div>
</div>
</a>
<a class="decoration" href="https://github.com/brandonwkipp" rel="noopener noreferrer" target="_blank">
<div>
<h2 class="text-light">Code</h2>
<p class="text-light">My work</p>
<div class="image-container">
<i class="fa fa-code"></i>
</div>
Expand All @@ -68,7 +55,6 @@ <h2 class="text-light">Code</h2>
<a class="decoration" href="/resume">
<div>
<h2 class="text-light">Resume</h2>
<p class="text-light">My trajectory</p>
<div class="image-container">
<i class="fa fa-id-card"></i>
</div>
Expand Down
3 changes: 0 additions & 3 deletions src/music/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<a href="/">
<li>Home</li>
</a>
<a href="/blog">
<li>Blog</li>
</a>
<a href="/resume">
<li>Resume</li>
</a>
Expand Down
3 changes: 0 additions & 3 deletions src/resume/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
<a href="/">
<li>Home</li>
</a>
<a href="/blog">
<li>Blog</li>
</a>
</ul>
</div>
</nav>
Expand Down

0 comments on commit fc5620c

Please sign in to comment.