mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-26 14:38:30 +02:00
14 lines
656 B
Bash
14 lines
656 B
Bash
#!/bin/bash
|
|
|
|
DART_SASS_VERSION=${DART_SASS_VERSION:-1.70.0}
|
|
DEPLOY_PRIME_URL=${DEPLOY_PRIME_URL:-"https://qdrant.com"}
|
|
|
|
CURRENT_DIR=$(pwd)
|
|
|
|
curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
md5sum dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
rm dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz && \
|
|
export PATH="${CURRENT_DIR}/dart-sass:${PATH}" && \
|
|
cd qdrant-landing && npm install && hugo --gc --minify --config config.toml,config-theme.toml --buildFuture -b ${DEPLOY_PRIME_URL}
|