Files
macos-tools/gitea/sync-config.yaml.example
2025-12-24 13:42:39 +08:00

29 lines
816 B
Plaintext

# Gitea to GitHub Sync Configuration
# 配置 Gitea 仓库到 GitHub 的同步映射
# 仓库列表
repositories:
# 示例 1: 使用 SSH 协议(推荐)
- name: "my-project"
gitea: "[email protected]:32222/username/my-project.git"
github: "[email protected]:username/my-project.git"
# 示例 2: 使用 HTTPS 协议
- name: "another-project"
gitea: "http://192.168.1.83:33000/username/another-project.git"
github: "https://github.com/username/another-project.git"
# 示例 3: 通过 WireGuard 访问
- name: "wg-project"
gitea: "[email protected]:32222/username/wg-project.git"
github: "[email protected]:username/wg-project.git"
# 同步选项(可选)
options:
# 同步超时时间(秒)
timeout: 600
# 失败重试次数
retry: 3
# 并发同步数量
concurrent: 1