From b4329f6668036e8ad2a8bb349b658f42d6d5c90e Mon Sep 17 00:00:00 2001 From: Oleh Omelchenko Date: Wed, 21 Jan 2026 14:42:45 +0200 Subject: [PATCH] chore: add build script for cf pages --- build.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 build.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..da3c93b --- /dev/null +++ b/build.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +# Install Quarto +QUARTO_VERSION="1.6.42" +curl -LO "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" +tar -xzf "quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" +export PATH="$PWD/quarto-${QUARTO_VERSION}/bin:$PATH" + +# Install Python dependencies +pip install -r requirements.txt + +# Render site +quarto render