init pipeline
This commit is contained in:
16
repos.yaml
Normal file
16
repos.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
# 多仓库同步配置文件
|
||||
# 定义需要同步的仓库对,源仓库 -> 目标仓库
|
||||
repositories:
|
||||
# 示例:同步 BladeX-Tool 仓库
|
||||
- name: "bladex-tool" # 仓库名称(用于日志输出)
|
||||
source_url: "https://${UPSTREAM_USERNAME}:${UPSTREAM_TOKEN}@center.javablade.com/blade/BladeX-Tool.git"
|
||||
target_url: "https://${GITEA_USERNAME}:${GITEA_TOKEN}@gitea.fjy8018.top/home/BladeX-Tool.git"
|
||||
branch: "master" # 要同步的分支
|
||||
|
||||
# 示例:同步另一个仓库(取消注释并修改以下配置)
|
||||
# - name: "another-repo"
|
||||
# source_url: "https://${UPSTREAM_USERNAME}:${UPSTREAM_TOKEN}@github.com/example/repo.git"
|
||||
# target_url: "https://${GITEA_USERNAME}:${GITEA_TOKEN}@gitea.fjy8018.top/home/repo.git"
|
||||
# branch: "main"
|
||||
|
||||
# 添加更多仓库同步配置...
|
||||
Reference in New Issue
Block a user