From bb5ddeffc05e8ce0dcb448ea53278c2e1814110e Mon Sep 17 00:00:00 2001 From: andwati Date: Thu, 16 Jul 2026 16:22:57 +0300 Subject: [PATCH] fix build script --- .gitignore | 5 ++++- build.sh | 16 ++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100755 build.sh diff --git a/.gitignore b/.gitignore index 4b2c1b0..ccd3a3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,7 @@ public node_modules .wrangler -manimations/*.* \ No newline at end of file +manimations/*.* +/zola +/zola-v*.tar.gz +/artifacts \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..17aa776 --- /dev/null +++ b/build.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +ZOLA_VERSION=0.22.1 + +echo "Downloading Zola ${ZOLA_VERSION}..." +curl -sLJO "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" + +echo "Extracting Zola..." +tar -xf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz + +echo "Building site with Zola..." +./zola build + +echo "Build complete! Generated files:" +ls -la public/ \ No newline at end of file