From 7e1a92449dc0a74fbe16efbae1acf84765a783ef Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 5 Mar 2026 17:28:37 +0100 Subject: [PATCH] =?UTF-8?q?CI:=20build=20Svelte=20avant=20le=20d=C3=A9ploi?= =?UTF-8?q?ement=20FTP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Installe Node 22 via NodeSource, npm ci + vite build. Le résultat (assets/dist) est inclus dans le mirror FTP existant. Co-Authored-By: Claude Sonnet 4.6 --- .forgejo/workflows/deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index ea46006..8242edc 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -17,6 +17,13 @@ jobs: git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git . ls -la + - name: Build Svelte app + run: | + curl -fsSL https://deb.nodesource.com/setup_22.x | bash - + apt-get install -y -qq nodejs + npm ci + npm run build + - name: Deploy via FTP env: USERNAME: ${{ secrets.USERNAME }}