🔧 参数化实例配置并补充 preset env 示例
This commit is contained in:
@@ -43,7 +43,7 @@ env:
|
||||
|
||||
# ===== 服务器配置 =====
|
||||
# Gitea 服务器地址(用于生成头像链接和 API 调用)
|
||||
GITEA_SERVER: "https://git.mytsl.cn"
|
||||
GITEA_SERVER: "${{ github.server_url }}"
|
||||
|
||||
# ===== CHANGELOG 配置 =====
|
||||
# CHANGELOG 变更列表标题
|
||||
|
||||
@@ -59,13 +59,13 @@ env:
|
||||
# 平台类型: github 或 gitea
|
||||
PLATFORM: "gitea"
|
||||
# Git 服务器 URL(Gitea 示例: 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'
|
||||
|
||||
# ==========================================
|
||||
# 🎨 语言分组配置
|
||||
|
||||
Reference in New Issue
Block a user