From 14c71c24cdcf18a3fda2545dcbb8dd48266d5ec1 Mon Sep 17 00:00:00 2001 From: seaHi Date: Fri, 11 Sep 2026 11:37:06 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E6=81=A2=E5=A4=8D=20Drone=20=E5=86=85?= =?UTF-8?q?=E7=BD=AE=20clone=20=E6=8F=92=E4=BB=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=B3=A8=E5=85=A5=E6=8B=89=E5=8F=96=E5=87=AD=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2132d5d..d32a653 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,9 +2,6 @@ kind: pipeline type: docker name: default -clone: - disable: true - node: name: pve @@ -16,16 +13,6 @@ trigger: - custom steps: - - name: clone - image: alpine/git - commands: - - "cat < /root/.netrc\nmachine git.seahi.me login oauth2 password ${DRONE_GIT_PASSWORD}\nEOF" - - "chmod 600 /root/.netrc" - - "git config --global http.version HTTP/1.1" - - "git config --global protocol.version 1" - - "git clone --depth=1 ${DRONE_REMOTE_URL} ." - - "git checkout -qf ${DRONE_COMMIT_SHA}" - - name: install image: node:22-slim volumes: