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 @@
#!/usr/bin/env bash
set -euo pipefail
MAINTENANCE_FILE="${GENARRATIVE_MAINTENANCE_FILE:-/var/lib/genarrative/maintenance/enabled}"
if [[ -f "${MAINTENANCE_FILE}" ]]; then
rm -f "${MAINTENANCE_FILE}"
echo "[maintenance] 已退出维护模式: ${MAINTENANCE_FILE}"
else
echo "[maintenance] 当前未处于维护模式: ${MAINTENANCE_FILE}"
fi