mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2026-02-04 18:44:36 +00:00
chore: add build script for cf pages
This commit is contained in:
14
build.sh
Executable file
14
build.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user