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 配置,确保服务更新