fix build script and post-receive hook *facepalm*
la-ninpre leobrekalini@gmail.com
Tue, 19 Apr 2022 00:47:47 +0300
2 files changed,
2 insertions(+),
2 deletions(-)
M
build.sh
→
build.sh
@@ -14,7 +14,7 @@ title="aaoth.xyz"
feed_title="$title - feed" if [ -z "$AAOTH_ROOT" ]; then root="dst"; else root="$AAOTH_ROOT"; fi -if [ -z "$AAOTH_GEMROOT" ]; then gemroot="dst_gemini"; else root="$AAOTH_GEMROOT"; fi +if [ -z "$AAOTH_GEMROOT" ]; then gemroot="dst_gemini"; else gemroot="$AAOTH_GEMROOT"; fi en_src="en" en_dst="$root" en_gemdst="$gemroot"
M
post-receive.example
→
post-receive.example
@@ -14,7 +14,7 @@ # change branch name to your main deploy branch
git clone -b main "$GIT_REPO" "$TMP_GIT_CLONE" # build the site -cd "$TMP_GIT_CLONE" && sh build.sh +cd "$TMP_GIT_CLONE" && ./build.sh # clean up rm -Rf "$TMP_GIT_CLONE"