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