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

+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env node
/**
* 创建/推送到 Gitea(默认 http://10.126.232.10:3000)。
* 创建/推送到 Gitea(默认 http://210.126.232.10:3000)。
* 用法:
* GITEA_TOKEN=<token> node scripts/push-to-gitea.mjs
* 可选环境变量:GITEA_URL、GITEA_REPO、GITEA_PUBLIC=1
@@ -8,7 +8,7 @@
*/
import { spawnSync } from 'node:child_process';
const base = (process.env.GITEA_URL || 'http://10.126.232.10:3000').replace(/\/+$/, '');
const base = (process.env.GITEA_URL || 'http://210.126.232.10:3000').replace(/\/+$/, '');
const token = (process.env.GITEA_TOKEN || '').trim();
const repo = process.env.GITEA_REPO || 'classhelper-island-refactor-prompt';
const isPublic = process.env.GITEA_PUBLIC === '1';