diff --git a/build.sh b/build.sh index 48fb515..17aa776 100755 --- a/build.sh +++ b/build.sh @@ -1,13 +1,16 @@ #!/usr/bin/env bash -main() { - ZOLA_VERSION=0.22.1 +set -euo pipefail - curl -sLJO "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" - tar -xf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz +ZOLA_VERSION=0.22.1 - git submodule update --init --recursive +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" - ./zola build -} +echo "Extracting Zola..." +tar -xf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz -set -euo pipefail \ No newline at end of file +echo "Building site with Zola..." +./zola build + +echo "Build complete! Generated files:" +ls -la public/ \ No newline at end of file diff --git a/wrangler.toml b/wrangler.toml index 710d5dc..f9a466c 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,5 +1,5 @@ name = "pwnforfunandprofit" -compatibility_date = "2026-01-22" +compatibility_date = "2026-03-26" [build] command = "./build.sh"