From 3a7665a8810d784266bbcf7bb49ef50dbbb5878f Mon Sep 17 00:00:00 2001 From: seaHi Date: Fri, 11 Sep 2026 11:31:25 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=BD=BB=E5=BA=95=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E5=8D=95=E8=A1=8C=E5=85=A8=E9=87=8F=20HTTP/1.1=20clone=20?= =?UTF-8?q?=E7=BB=95=E8=BF=87=20Drone=20=E6=8F=92=E4=BB=B6=E7=89=B9?= =?UTF-8?q?=E6=9C=89=E7=9A=84=E6=B5=85=E6=8B=89=E5=8F=96=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.drone.yml b/.drone.yml index d32a653..564e5fd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,9 @@ kind: pipeline type: docker name: default +clone: + disable: true + node: name: pve @@ -13,6 +16,14 @@ trigger: - custom steps: + - name: clone + image: alpine/git + commands: + - "git config --global http.version HTTP/1.1" + - "git config --global protocol.version 1" + - "git clone --depth=1 https://git.seahi.me/seahi/blogflare.git ." + - "git checkout -qf ${DRONE_COMMIT_SHA}" + - name: install image: node:22-slim volumes: