From 83fe4295f7800041460784604e29cb51c850cd44 Mon Sep 17 00:00:00 2001 From: seaHi Date: Fri, 11 Sep 2026 10:03:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E4=B8=BA=20clone=20=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E6=B7=BB=E5=8A=A0=E5=BC=95=E5=8F=B7=E4=BB=A5=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20YAML=20=E8=A7=A3=E6=9E=90=E5=86=92=E5=8F=B7?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index e973cc1..52c3ad5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,12 +19,12 @@ 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} + - "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