From 2186e33b2929f36db83b943a50853ff87bff1865 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Thu, 15 Jan 2026 14:59:54 +0100 Subject: [PATCH] fix forgejo ci --- .forgejo/workflows/deploy-preprod.yml | 10 +++------- .forgejo/workflows/deploy-prod.yml | 10 +++------- 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.forgejo/workflows/deploy-preprod.yml b/.forgejo/workflows/deploy-preprod.yml index 441c01b..3a842dc 100644 --- a/.forgejo/workflows/deploy-preprod.yml +++ b/.forgejo/workflows/deploy-preprod.yml @@ -13,13 +13,9 @@ jobs: image: forgejo-ci-node:latest steps: - name: Checkout code - uses: actions/checkout@v4 - - - name: Cache node modules - uses: actions/cache@v4 - with: - path: node_modules - key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + run: | + git clone --depth 1 --branch preprod https://forge.studio-variable.com/${{ github.repository }}.git . + ls -la - name: Install npm dependencies run: npm install diff --git a/.forgejo/workflows/deploy-prod.yml b/.forgejo/workflows/deploy-prod.yml index 4943bb2..e4084d6 100644 --- a/.forgejo/workflows/deploy-prod.yml +++ b/.forgejo/workflows/deploy-prod.yml @@ -13,13 +13,9 @@ jobs: image: forgejo-ci-node:latest steps: - name: Checkout code - uses: actions/checkout@v4 - - - name: Cache node modules - uses: actions/cache@v4 - with: - path: node_modules - key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + run: | + git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git . + ls -la - name: Install npm dependencies run: npm install