From 765198c4c78c94263851096da7d872edc64ece5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=8F=8C=E5=96=9C?= <1415466602@qq.com> Date: Tue, 24 Jun 2025 23:48:28 +0800 Subject: [PATCH] 32432 --- .drone.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0f5c46b..d18728a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,18 +3,8 @@ type: docker # 当前管道的类型 name: test # 当前管道的名称 steps: - # 第一步:克隆代码 - - name: 克隆代码 - image: alpine/git - commands: - - git clone $DRONE_REMOTE_URL . - - git checkout $DRONE_COMMIT - when: - event: - - push - - pull_request - # 第二步:构建项目 + # 第一步:构建项目 - name: 构建项目 image: node:18-alpine commands: @@ -38,7 +28,7 @@ steps: strip_prefix: dist # 第三步:部署到服务器 - - name: 清楚服务器缓存 + - name: 清除服务器缓存 image: appleboy/drone-ssh settings: host: