diff options
| author | la-ninpre <leobrekalini@gmail.com> | 2022-04-19 00:47:47 +0300 |
|---|---|---|
| committer | la-ninpre <leobrekalini@gmail.com> | 2022-04-19 00:47:47 +0300 |
| commit | e09c2afe5f6bc1782c8b7a4b7e8acb9d10e7c87d (patch) | |
| tree | a28572b60831d18b9760bd3c11d13dc07bca2b95 | |
| parent | 8d962aabf74c42c3afdc38f2f85fa7b06fd04ef0 (diff) | |
| download | aaoth.xyz-e09c2afe5f6bc1782c8b7a4b7e8acb9d10e7c87d.tar.gz aaoth.xyz-e09c2afe5f6bc1782c8b7a4b7e8acb9d10e7c87d.zip | |
fix build script and post-receive hook
*facepalm*
| -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" |
