修改自动化文件
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
arlenops
2025-11-20 13:01:16 +08:00
parent d2ee139c2f
commit ecc260e6df

View File

@@ -1,9 +1,10 @@
kind: pipeline kind: pipeline
name: default name: web模块
steps: steps:
- name: Pull latest code from Gitea - name: Pull latest code from Gitea
image: alpine:latest image: alpine:latest
timeout: 3m # 设置该步骤最大超时时间为 3 分钟
commands: commands:
- apk add --no-cache git - apk add --no-cache git
- cd /www/wwwroot/hgdemo.hgidc.cn/public/web/BlackFruit-web - cd /www/wwwroot/hgdemo.hgidc.cn/public/web/BlackFruit-web
@@ -12,6 +13,7 @@ steps:
- name: Restart Nginx - name: Restart Nginx
image: alpine:latest image: alpine:latest
timeout: 3m # 设置该步骤最大超时时间为 3 分钟
commands: commands:
- apk add --no-cache nginx - apk add --no-cache nginx
- nginx -s reload # 重新加载 Nginx 配置,确保服务更新 - nginx -s reload # 重新加载 Nginx 配置,确保服务更新