From ecc260e6df285ca752a49a7897c1ca4af033a227 Mon Sep 17 00:00:00 2001 From: arlenops Date: Thu, 20 Nov 2025 13:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E5=8C=96?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d3676d4..a4b1225 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,10 @@ kind: pipeline -name: default +name: web模块 steps: - name: Pull latest code from Gitea image: alpine:latest + timeout: 3m # 设置该步骤最大超时时间为 3 分钟 commands: - apk add --no-cache git - cd /www/wwwroot/hgdemo.hgidc.cn/public/web/BlackFruit-web @@ -12,6 +13,7 @@ steps: - name: Restart Nginx image: alpine:latest + timeout: 3m # 设置该步骤最大超时时间为 3 分钟 commands: - apk add --no-cache nginx - nginx -s reload # 重新加载 Nginx 配置,确保服务更新