From bfc39f2b78cf5375f492ea63f50793e5d75659b9 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Wed, 14 Aug 2024 20:38:11 +0100 Subject: Remove builder file --- docs/builder.sh | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100755 docs/builder.sh (limited to 'docs/builder.sh') diff --git a/docs/builder.sh b/docs/builder.sh deleted file mode 100755 index dc29376..0000000 --- a/docs/builder.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -# Ensure Poetry is accessible in the current session -export PATH=“/opt/render/project/poetry/bin:$PATH” - -# Check for Poetry, and install it if not found -if ! command -v poetry &> /dev/null; then - echo “Poetry not found. Installing Poetry...” - curl -sSL https://install.python-poetry.org | python3 - - # Add Poetry to PATH for the current session - export PATH=“$HOME/.local/bin:$PATH” -else - echo “Poetry found: $(poetry --version)” -fi - -# Check that Poetry was successfully installed and is working -poetry --version - -if [ $? -ne 0 ]; then - echo “Poetry installation failed.” - exit 1 -fi - -# Install dependencies using Poetry -echo “Running poetry install...” - -poetry install --with docs - -# Run the build process for mkdocs -echo “Running build process with Yarn...” - -poetry run mkdocs build -- cgit v1.2.3