diff --git a/scripts/sync-blog@tx-ubuntu-hugo.sh b/scripts/sync-blog@tx-ubuntu-hugo.sh new file mode 100644 index 0000000..6fefca1 --- /dev/null +++ b/scripts/sync-blog@tx-ubuntu-hugo.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +# sync-blog: pull + rebuild +set -e + +cd ~/hugo-blog + +echo ">>> git pull..." +git pull + +echo ">>> hugo build..." +hugo --minify + +echo ">>> done -- site updated"