#!/usr/bin/env bash
# vim: ft=bash:
#
file_date="$(date "+%y%m%d%H%M")"
docker run --rm -v "${PWD}/mondarth-com:/src" -v "${HOME}/hugo_cache:/tmp/hugo_cache" hugomods/hugo:exts hugo --theme mondarth  --minify
tar czvf "mondarth${file_date}.tar.gz" -C mondarth-com/public .
scp "mondarth${file_date}.tar.gz" mbools@192.168.1.251:/home/mbools
