From 6a7b97b436a5a20c172e6b04bf0caa37d544fde4 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 28 Jan 2020 23:34:01 -0500 Subject: Add publish instructions. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index dff9e02..2b5ea2d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ This repository contains the infrastructure for publishing a website, built from You will need: * [MkDocs](https://mkdocs.org) (`brew install mkdocs`) +* The AWS CLI (`brew install awscli`), logged in on an account with access to the `grimoire.ca` S3 bucket. ## Building @@ -25,3 +26,11 @@ mkdocs serve ``` This will automatically rebuild the site every time the files in `docs` change, and will serve them on a web server at . + +## Publishing + +Once the site is built, it can be published to s3: + +```bash +aws s3 sync --delete site/ s3://grimoire.ca/ +``` -- cgit v1.2.3