all repos — aaoth.xyz @ e09c2afe5f6bc1782c8b7a4b7e8acb9d10e7c87d

aaoth.xyz website

fix build script and post-receive hook

*facepalm*
la-ninpre leobrekalini@gmail.com
Tue, 19 Apr 2022 00:47:47 +0300
commit

e09c2afe5f6bc1782c8b7a4b7e8acb9d10e7c87d

parent

8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M build.shbuild.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.examplepost-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"