Skip to content
Personal Website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.well-known
assets
css
img
js
raw-assets
.editorconfig
.gitattributes
.gitignore
404.html
LICENSE
LICENSE.txt
README.md
dist-files
favicon.ico
index.html
resume.pdf
rob.gant.ninja.sublime-project
robots.txt

README.md

rob.gant.ninja

Personal Website

Deployment

Install s3cmd on MacOS using Homebrew: brew install s3cmd.

Configure s3cmd: s3cmd --configure

s3cmd sync --no-preserve --cf-invalidate --cf-invalidate-default-index --delete-removed --exclude=* --rinclude-from=dist-files ./ s3://rob-gant-ninja/

When we build the website we should be able to cachebust the asset/css/img/js file names using a hash and we won't need --cf-invalidate.

By default s3cmd sync preserves file attributes as metadata on the s3 key and that data is then converted into an HTTP header in the response. Using --no-preserve won't impact the ability of sync to check for changed files.

Should also setup Cache-Control Headers once we have cachebusting setup.

Static Site Generator

You can’t perform that action at this time.