mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
fix build script
This commit is contained in:
+4
-1
@@ -1,4 +1,7 @@
|
|||||||
public
|
public
|
||||||
node_modules
|
node_modules
|
||||||
.wrangler
|
.wrangler
|
||||||
manimations/*.*
|
manimations/*.*
|
||||||
|
/zola
|
||||||
|
/zola-v*.tar.gz
|
||||||
|
/artifacts
|
||||||
@@ -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/
|
||||||
Reference in New Issue
Block a user