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