Justin Zimmerman's Hugo Blog
Dear future Justin,
If you’ve found yourself here, you’re probably being ambitious and updating your blog again.
If you just cloned the repo (again), pull the theme git submodulegit submodule update --init --recursive
To update the theme submodule rungit submodule update --recursive --remote
Please find the steps to build and deploy that you’ve probably forgotten about by now:
brew update && brew upgrade
brew install hugo
to get the latest version of Hugohugo
to buildhugo server
brew install awscli
to get the latest version of the aws cliaws configure
cd public
aws s3 sync . s3://justinzimmerman.net --force --delete --cache-control max-age=172800 --acl public-read --profile justinzimmerman
aws cli sync
will only modify items that need changed, therefore, if cache-control is not working property, empty the bucket, and run the sync command above, do not upload on the s3 dashboard