🔧 参数化实例配置并补充 preset env 示例

This commit is contained in:
csh
2026-05-22 09:45:35 +08:00
parent ac05621817
commit a4d09c9063
12 changed files with 90 additions and 18 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ env:
# ===== 服务器配置 =====
# Gitea 服务器地址(用于生成头像链接和 API 调用)
GITEA_SERVER: "https://git.mytsl.cn"
GITEA_SERVER: "${{ github.server_url }}"
# ===== CHANGELOG 配置 =====
# CHANGELOG 变更列表标题
+2 -2
View File
@@ -59,13 +59,13 @@ env:
# 平台类型: github 或 gitea
PLATFORM: "gitea"
# Git 服务器 URLGitea 示例: https://gitea.example.com
GIT_SERVER_URL: "https://git.mytsl.cn"
GIT_SERVER_URL: "${{ github.server_url }}"
# 仓库路径(格式: owner/repo
REPO_PATH: "${{ github.repository }}"
# Raw 文件基础 URL
# GitHub: https://raw.githubusercontent.com/{owner}/{repo}/{branch}/{path}
# Gitea: https://gitea.example.com/{owner}/{repo}/raw/branch/{branch}/{path}
RAW_URL_BASE: 'https://git.mytsl.cn/${{ github.repository }}/raw/branch'
RAW_URL_BASE: '${{ github.server_url }}/${{ github.repository }}/raw/branch'
# ==========================================
# 🎨 语言分组配置