Add production Jenkins release pipelines

This commit is contained in:
2026-05-02 19:14:13 +08:00
parent 879a53bf8d
commit bdc3257003
38 changed files with 3315 additions and 982 deletions

View File

@@ -0,0 +1,12 @@
# 维护模式由发布脚本或人工运维通过固定文件控制。
# 文件存在时,普通页面展示维护页,管理 API 返回 503。
set $genarrative_maintenance 0;
if (-f /var/lib/genarrative/maintenance/enabled) {
set $genarrative_maintenance 1;
}
location = /maintenance.html {
root /srv/genarrative/web;
add_header Cache-Control "no-store";
internal;
}