Simple storage service with garage

Garage is a S3 implementation that allows to easily serve websites as well. In their doc they show how to deploy SSGs to S3. Some implement this feature internally, other only implement exporting to a filesystem.

We could add this feature to Zola too.

Baking that into Zola is a mistake, imho. It’s the start of something monolithic.

Use a Makefile.

I do the following to rsync from my local machine to an AWS Lightsail machine. It will be somewhat similar.

	$(RSYNC) -av -e "ssh -i \"$(SSH_CERT_PATH)\"" $(OUT) $(USER)@$(HOST):$(DEST_PATH) 

$(OUT) variable matches the local Zola build directory

Rsync is not supported but it is similar if you have the AWS CLI.