From 39a493f26168a98162f388f352f387c8a94aee25 Mon Sep 17 00:00:00 2001 From: Christian Medina <37550954+cmedinasoriano@users.noreply.github.com> Date: Tue, 30 Jun 2026 15:35:42 -0400 Subject: [PATCH] fix: remove deploy-agenx-lora.sh from repo --- deploy-agenx-lora.sh | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 deploy-agenx-lora.sh diff --git a/deploy-agenx-lora.sh b/deploy-agenx-lora.sh deleted file mode 100644 index 7fcea86..0000000 --- a/deploy-agenx-lora.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -# Simple deployment script for agenx-lora-training -# Clones repo to /opt/loras/agenx-lora-training and prepares it for training - -set -e - -REPO_DIR="/opt/loras/agenx-lora-training" -REPO_URL="https://gitea.cyaren.com/cmedina/agenx-lora-training.git" - -echo "=== Deploying agenx-lora-training ===" -echo "Repository: ${REPO_URL}" -echo "Target: ${REPO_DIR}" -echo "" - -# Create /opt/loras if it doesn't exist -if [ ! -d "/opt/loras" ]; then - echo "Creating /opt/loras..." - sudo mkdir -p /opt/loras - sudo chown $(whoami):$(whoami) /opt/loras -fi - -# Clone or update repo -if [ -d "${REPO_DIR}/.git" ]; then - echo "Repository exists, updating..." - cd "${REPO_DIR}" - git pull --ff-only origin main -else - echo "Cloning repository..." - git clone "${REPO_URL}" "${REPO_DIR}" -fi - -echo "" -echo "=== Done ===" -echo "Repository is at: ${REPO_DIR}" -echo "" -echo "Next steps:" -echo " cd ${REPO_DIR}" -echo " bash train-on-this-server.sh" -echo ""