/eshiota_middleman_blog

My blog's theme based on middleman. Feel free to study its construction—just don't carbon-copy its design or I'll have to send demon cat ninjas to tear your website apart. :cat:

Primary LanguageJavaScript

eshiota blog

Deployment process

First, be sure to have your production credentials for AWS available on your environment, either using awsenv or exporting then by yourself.

export AWS_ACCESS_KEY_ID=<your access key>
export AWS_SECRET_ACCESS_KEY=<your secret key>

Then, build a fresh version of the website with middleman build (so you won't upload an outdated version of the website) and upload the build output with middleman sync.

# Build the static site into `./build`.
middleman build
# Upload everything in `./build` to S3.
middleman sync