This commit is contained in:
@@ -16,6 +16,6 @@ steps:
|
||||
timeout: 3m # 设置该步骤最大超时时间为 3 分钟
|
||||
commands:
|
||||
- apk add --no-cache nginx
|
||||
- nginx -s reload # 重新加载 Nginx 配置,确保服务更新
|
||||
- nginx -s reload
|
||||
when:
|
||||
branch: main # 只在 main 分支触发,防止其他分支的提交也触发重启
|
||||
|
||||
Reference in New Issue
Block a user