chore: point Gitea helpers at reachable host 210.126.232.10:3000

This commit is contained in:
ClassIsland Prompt Kit committed 2026-11-13 07:44:30 +08:00
1 parent 33793a4fe1
commit 50cda6f5c1
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -1,13 +1,13 @@
# 将本仓库创建/推送到 Gitea(默认目标 http://10.126.232.10:3000)
# 将本仓库创建/推送到 Gitea(默认目标 http://210.126.232.10:3000)
# 用法:
# $env:GITEA_TOKEN = '<你的 Gitea 访问令牌>'
# $env:GITEA_URL = 'http://10.126.232.10:3000' # 可选
# $env:GITEA_URL = 'http://210.126.232.10:3000' # 可选
# $env:GITEA_REPO = 'classhelper-island-refactor-prompt' # 可选
# pwsh -File scripts/push-to-gitea.ps1
# 说明:令牌只从环境变量读取,不写入仓库文件;推送完成后会把 origin 还原为不含凭据的 URL。
param(
[string]$RepoName = $(if ($env:GITEA_REPO) { $env:GITEA_REPO } else { 'classhelper-island-refactor-prompt' }),
[string]$BaseUrl = $(if ($env:GITEA_URL) { $env:GITEA_URL } else { 'http://10.126.232.10:3000' }),
[string]$BaseUrl = $(if ($env:GITEA_URL) { $env:GITEA_URL } else { 'http://210.126.232.10:3000' }),
[switch]$Public
)