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