From bb87939a068c0149dc26699aa8bd2a3c47dc4431 Mon Sep 17 00:00:00 2001 From: moweishan <13892077751@163.com> Date: Mon, 29 Dec 2025 15:43:50 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.drone.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index cdd3015..962cdef 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,14 +2,14 @@ kind: pipeline type: docker name: main-automated-pipeline -# 步骤1:触发条件 - 当 main 分支有推送时自动执行 + trigger: event: - push branch: - main -# 步骤2:执行的任务 + steps: - name: print-auto-run image: alpine:latest @@ -24,7 +24,7 @@ steps: - echo "=====================================" -# 步骤1:触发条件 - 手动触发 + trigger: event: - promote @@ -32,7 +32,6 @@ trigger: target: - production -# 步骤2:执行的任务 steps: - name: print-manual-trigger image: alpine:latest