From bcfec5841e30bb593ae81270ada7d13bf293ec76 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 3 Dec 2025 05:29:02 +0300 Subject: [PATCH] git --- .forgejo/workflows/deploy.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 2d3f100..e09b067 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -301,6 +301,14 @@ jobs: # Set Node.js memory limits for increased container memory (512MB) echo "NODE_OPTIONS=--max-old-space-size=512" >> $GITHUB_ENV || echo "NODE_OPTIONS=--max-old-space-size=512" >> ~/.bashrc || true + - name: Configure Git + run: | + git config --global http.postBuffer 524288000 + git config --global http.maxRequestBuffer 500M + git config --global core.compression 0 + git config --global http.lowSpeedLimit 1000 + git config --global http.lowSpeedTime 60 + - name: Setup SSH run: | mkdir -p ~/.ssh @@ -311,7 +319,7 @@ jobs: - name: Checkout code uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 1 lfs: false - name: Bump Version (Pre-hook) @@ -325,12 +333,6 @@ jobs: git push echo "✅ Version bump pushed" - - name: Configure Git - run: | - git config --global http.postBuffer 52428800 - git config --global http.maxRequestBuffer 100M - git config --global core.compression 0 - - name: Build Web App working-directory: mnemo_cards_web_v2 env: