feat: Update build script for Zola installation and adjust compatibility date in wrangler configuration

This commit is contained in:
2026-03-08 20:54:46 +03:00
parent 656d6edd41
commit 4dd2911c69
2 changed files with 12 additions and 9 deletions
+11 -8
View File
@@ -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
echo "Building site with Zola..."
./zola build
echo "Build complete! Generated files:"
ls -la public/
+1 -1
View File
@@ -1,5 +1,5 @@
name = "pwnforfunandprofit"
compatibility_date = "2026-01-22"
compatibility_date = "2026-03-26"
[build]
command = "./build.sh"