From d665df20a66abb4cf4fe1cd8ce6859235af900dc Mon Sep 17 00:00:00 2001 From: seaHi Date: Fri, 11 Sep 2026 09:57:28 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=98=BE=E5=BC=8F=E9=85=8D=E7=BD=AE=20cl?= =?UTF-8?q?one=20=E6=AD=A5=E9=AA=A4=E4=BD=BF=E7=94=A8=20HTTP/1.1=20?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E4=BB=A5=E8=A7=A3=E5=86=B3=20bad=20pack=20he?= =?UTF-8?q?ader=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index d32a653..e973cc1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,9 @@ kind: pipeline type: docker name: default +clone: + disable: true + node: name: pve @@ -13,8 +16,20 @@ trigger: - custom steps: + - name: clone + image: alpine/git + commands: + - git config --global http.version HTTP/1.1 + - git config --global http.postBuffer 524288000 + - git init + - git remote add origin ${DRONE_REMOTE_URL} + - git fetch --depth=50 origin +refs/heads/${DRONE_COMMIT_BRANCH}: + - git checkout -qf ${DRONE_COMMIT_SHA} + - name: install image: node:22-slim + depends_on: + - clone volumes: - name: pnpm-store path: /root/.local/share/pnpm/store