From 2d4066bd4430bde698711672b4d7f3ca4df2ae30 Mon Sep 17 00:00:00 2001 From: qxdo Date: Sun, 24 Mar 2024 21:33:38 +0800 Subject: [PATCH] modified test --- .elog.env | 3 ++- elog.config.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.elog.env b/.elog.env index 1301ccb..1bf47ec 100644 --- a/.elog.env +++ b/.elog.env @@ -67,7 +67,8 @@ UPYUN_HOST=xxx.xx.upaiyun.com # Github # 在 Github 流水线中,Github不允许以GITHUB开头的自定义变量 # GITHUB_TOKEN 为内置变量,无需改名也无需配置,流水线中可直接获取 -GITHUB_TOKEN= +# GITHUB_TOKEN= +ELOG_GITHUB_TOKEN= ELOG_GITHUB_USER= ELOG_GITHUB_REPO= ELOG_GITHUB_BRANCH= diff --git a/elog.config.js b/elog.config.js index 468907d..177f6b8 100644 --- a/elog.config.js +++ b/elog.config.js @@ -105,7 +105,7 @@ module.exports = { prefixKey: '', }, github: { - token: process.env.GITHUB_TOKEN, + token: process.env.ELOG_GITHUB_TOKEN, user: process.env.ELOG_GITHUB_USER, repo: process.env.ELOG_GITHUB_REPO, branch: process.env.ELOG_GITHUB_BRANCH,