mirror of
https://github.com/olehomelchenko/olehomelchenko.com.git
synced 2026-02-05 02:54:37 +00:00
fix: build.sh
This commit is contained in:
8
build.sh
8
build.sh
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Install Quarto
|
# Install Quarto to /tmp (outside repo to avoid processing its template files)
|
||||||
QUARTO_VERSION="1.6.42"
|
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"
|
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 "quarto-${QUARTO_VERSION}-linux-amd64.tar.gz"
|
tar -xzf /tmp/quarto.tar.gz -C /tmp
|
||||||
export PATH="$PWD/quarto-${QUARTO_VERSION}/bin:$PATH"
|
export PATH="/tmp/quarto-${QUARTO_VERSION}/bin:$PATH"
|
||||||
|
|
||||||
# Install Python dependencies
|
# Install Python dependencies
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user