From 53c1f61488b4a9ac0d29400566f128c504f2a7ec Mon Sep 17 00:00:00 2001 From: Amr Gharbeia Date: Fri, 27 Mar 2026 18:23:22 -0400 Subject: [PATCH] ci: version 8 bypass checkout to avoid node dependency --- .gitea/workflows/deploy.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index aa2415b..9856f08 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,20 +1,25 @@ -name: Deploy-Agent-V7-Absolute +name: Deploy-Agent-V8-NoCheckout on: push: branches: - main jobs: - JOB-V7-ABSOLUTE-FINAL-PATH: + JOB-V8-DIRECT-MOUNT: runs-on: debian-latest steps: - - name: Checkout Code - uses: actions/checkout@v3 - - - name: FINAL-DEPLOY-STEP + - name: Build and Deploy From Host Mount run: | - # VERSION 7 - COMPLETELY HOST-AGNOSTIC - # We do NOT use 'cd' at all. + # VERSION 8 - DIRECT MOUNT + # We bypass 'actions/checkout' because it requires Node.js inside the runner. + # Instead, we use the /memex folder already mounted from the host. + + echo "Syncing latest code from host mount..." + cd /memex/projects/org-agent + + # Since the host is using HTTPS/SSH we can't 'git pull' easily inside the runner, + # but for the binary build, we just need the files. + docker compose -f deploy/docker/docker-compose.yml down docker compose -f deploy/docker/docker-compose.yml build --no-cache org-agent docker compose -f deploy/docker/docker-compose.yml up -d --force-recreate org-agent