Files
-Fonu/.gitignore
T
mrlee 70b891c2af
CI / verify (push) Canceled after 0s
feat(scripts): 新增 upgrade-hub.sh,仅编排文件的部署可一条命令升级
- 自动从仓库取 VERSION 作为镜像 tag(没装 git 则退回时间戳 tag,同样唯一可回滚)→ docker compose up -d --build(构建上下文是 Git 地址,自动拉最新分支)→ 轮询 /api/version 确认 → 打印当前版本与回滚命令

- .gitignore 白名单补 scripts/upgrade-hub.sh;bash -n 校验通过
2026-09-27 15:40:38 +08:00

27 lines
522 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
bin/
.data/
web/node_modules/
web/dist/
cmd/fonu/web/dist/
dist/
*.db
/data/
# 会话密钥等本地环境变量(.env.example 这类模板可以照常入库)
.env
.env.local
.DS_Store
.cursor/
# scripts/ 下的本地辅助脚本不入库,但随仓库分发的 agent 安装脚本需要跟踪
scripts/*
!scripts/agent-install.sh
!scripts/build-linux.ps1
!scripts/fonu-install.sh
!scripts/upgrade.sh
!scripts/upgrade-hub.sh
# 本地压缩包与导出产物不入库(如 web/src.rar)
*.rar
*.zip
*.7z
*.tar.gz
*.log