diff options
| -rwxr-xr-x | build.sh | 2 | ||||
| -rw-r--r-- | post-receive.example | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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" diff --git a/post-receive.example b/post-receive.example index 84a5b6c..da32264 100644 --- a/post-receive.example +++ b/post-receive.example @@ -14,7 +14,7 @@ export AAOTH_ROOT AAOTH_GEMROOT 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" |
