diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..4966553 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +SRC_ROOTDIR="$HOME/src/fef.moe" +WEB_ROOTDIR="$HOME/pub/webroot" + +cd "$SRC_ROOTDIR" +jekyll build +rm -rf "$WEB_ROOTDIR" +cp -r _site "$WEB_ROOTDIR" +gzip -9kr "$WEB_ROOTDIR"