chore: 统一权威仓库为 WuYongJie

This commit is contained in:
chenpei 2026-08-07 17:37:54 +08:00
parent ebe4325db2
commit a72bbf5fed
3 changed files with 8 additions and 4 deletions

View File

@ -25,13 +25,15 @@
默认部署:
- Git 仓库:`http://git.1080p.hk/lunanting/gongxiangp2.git`
- Git 仓库:`http://git.1080p.hk/WuYongJie/gongxiangp2.git`
- 分支:`main`
- 构建机:`192.168.40.206`
- 生产机:`192.168.58.20`
- 正式容器:`youyidian-3d-material`
- 正式端口:`4320`
`WuYongJie/gongxiangp2` 是当前唯一权威仓库。`lunanting/gongxiangp2` 仅作为历史仓库识别,不得再用于构建或发布。
## 首次运行前准备
本脚本由维护人员执行,不要求普通用户手动运行。首次在一台新维护机上运行前,需要确认:

View File

@ -25,7 +25,7 @@
默认参数:
- Git 仓库:`http://git.1080p.hk/lunanting/gongxiangp2.git`
- Git 仓库:`http://git.1080p.hk/WuYongJie/gongxiangp2.git`
- 分支:`main`
- 构建机:`192.168.40.206`
- 生产机:`192.168.58.20`
@ -34,6 +34,8 @@
- 影子容器:`youyidian-3d-shadow`
- 影子端口:`5320`
`WuYongJie/gongxiangp2` 是当前唯一权威仓库。`lunanting/gongxiangp2` 仅作为历史仓库识别,不得再用于构建或发布。
正式部署由维护人员执行,不要求普通用户手动运行。
## 2. 常用命令
@ -84,7 +86,7 @@
## 3. 参数说明
- `-Target`:部署目标,`production` 或 `shadow`。
- `-RepoUrl`:Git 仓库地址,默认使用 `lunanting/gongxiangp2`。
- `-RepoUrl`:Git 仓库地址,默认使用 `WuYongJie/gongxiangp2`。
- `-Branch`:部署分支,默认 `main`。
- `-Commit`:指定提交;为空时部署目标分支最新提交。
- `-DryRun`:只做连通性与依赖预检,不构建、不推镜像、不重启容器。

View File

@ -17,7 +17,7 @@ param(
[ValidateSet('production', 'shadow')]
[string]$Target = 'production',
[string]$RepoUrl = 'http://git.1080p.hk/lunanting/gongxiangp2.git',
[string]$RepoUrl = 'http://git.1080p.hk/WuYongJie/gongxiangp2.git',
[string]$Branch = 'main',
[string]$Commit = '',