fix build script

This commit is contained in:
2026-07-16 16:22:57 +03:00
parent b4c52ee98d
commit bb5ddeffc0
2 changed files with 20 additions and 1 deletions
+3
View File
@@ -2,3 +2,6 @@ public
node_modules
.wrangler
manimations/*.*
/zola
/zola-v*.tar.gz
/artifacts
Executable
+16
View File
@@ -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/