feat(config): support multiple Gitea profiles via GITEA_PROFILE env var

未設時讀 config.env(行為不變);設了讀 config.<profile>.env。
.gitignore 新增 config.*.env 但保留 config.example.env。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
timmy
2026-04-21 16:18:16 +08:00
parent e333f7b8ab
commit f28f20ba56
6 changed files with 41 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1 +1,3 @@
config.env
config.*.env
!config.example.env