From 4c2b58df00b24cbb2addbd4747059f1fc378fcad Mon Sep 17 00:00:00 2001 From: xEsiah Date: Fri, 16 Oct 2026 10:53:44 +0200 Subject: [PATCH] chore: host bind mounts for data and leaner deploy job Store MariaDB and media data on the host disk via CLOUD_DB_DIR and CLOUD_MEDIA_DIR (default ../db, ../media) instead of Docker named volumes, so they live on the big disk and survive 'down -v'. Drop the host 'make check' from the deploy job: the image builds already run tsc for every workspace, so no Node toolchain is needed on the runner. --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4f2995..260e7fe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,8 +30,9 @@ jobs: dir="${DEPLOY_DIR:-/srv/apps/cohaise-cloud/CoHaiSe-CLOUD}" cd "$dir" git pull --ff-only origin main - make check - make front + # Le build des images compile et typecheck chaque workspace (tsc) : + # aucune toolchain Node n'est requise sur l'hote. docker compose build api nginx + make front docker compose up -d api nginx docker image prune -f -- 2.54.0