1
0

first commit

This commit is contained in:
2024-06-13 21:02:27 +08:00
parent 20927c5e1a
commit 0f7cc99931
3 changed files with 37 additions and 0 deletions

13
script/install_zola.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
ZOLA_VERSION="0.18.0"
echo "Downloading Zola version $ZOLA_VERSION..."
curl -L https://github.com/getzola/zola/releases/download/v$ZOLA_VERSION/zola-v$ZOLA_VERSION-x86_64-unknown-linux-gnu.tar.gz -o zola.tar.gz
tar -xvf zola.tar.gz
chmod +x zola
sudo mv zola /usr/local/bin
echo "Zola installed successfully."