This commit is contained in:
@@ -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 配置,确保服务更新
|
||||
|
||||
Reference in New Issue
Block a user