Compare commits

...

2 Commits

Author SHA1 Message Date
2f876263a6 fix: build.sh 2026-01-21 14:45:38 +02:00
b4329f6668 chore: add build script for cf pages 2026-01-21 14:42:45 +02:00

14
build.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
# Install Quarto to /tmp (outside repo to avoid processing its template files)
QUARTO_VERSION="1.6.42"
curl -L "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz" -o /tmp/quarto.tar.gz
tar -xzf /tmp/quarto.tar.gz -C /tmp
export PATH="/tmp/quarto-${QUARTO_VERSION}/bin:$PATH"
# Install Python dependencies
pip install -r requirements.txt
# Render site
quarto render