Replies: 10 comments 12 replies
|
Github_TOKEN 变量不需要设置到环境变量,流水线会自动获取到 |
5 replies
|
具体怎么搞啊,我感觉是我自己设置有问题,我就设置了elog.config.js和elog.env
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午4:39
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
还有具体的日志报错,建议用电脑提一个 issue bug,这样会更快解决问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
0 replies
|
主要是没有报错,就是不喜欢文件
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午4:39
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
还有具体的日志报错,建议用电脑提一个 issue bug,这样会更快解决问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
1 reply
|
[](https://github.com/xinkeji/hexo/actions/workflows/Deploy%20Elog-Hexo%20Public%20To%20Pages.yml)
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午4:55
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
请在 bug issues 中粘贴 elog.config.js 和.github/workflows下的 github actions 的文件内容
没有具体信息 我也无法帮你定位问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
2 replies
|
[](https://github.com/xinkeji/hexo/actions/workflows/Deploy%20Elog-Hexo%20Public%20To%20Pages.yml)
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午5:25
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
github不允许设置github开头的密钥,那么就改名,只要一一对应就行,你可以使用以下代码进行替代
image: { enabled: true, platform: 'github', github: { user: process.env.ELOG_GITHUB_USER, token: process.env.GITHUB_TOKEN, repo: process.env.ELOG_GITHUB_REPO, prefixKey: '', host: 'cdn.jsdelivr.net' } },
然后在Github 流水线中注入ELOG_GITHUB_USER和ELOG_GITHUB_REPO,不需要配置,流水线可自动获取
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
1 reply
|
prefixKey这个咋设置啊
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午5:25
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
github不允许设置github开头的密钥,那么就改名,只要一一对应就行,你可以使用以下代码进行替代
image: { enabled: true, platform: 'github', github: { user: process.env.ELOG_GITHUB_USER, token: process.env.GITHUB_TOKEN, repo: process.env.ELOG_GITHUB_REPO, prefixKey: '', host: 'cdn.jsdelivr.net' } },
然后在Github 流水线中注入ELOG_GITHUB_USER和ELOG_GITHUB_REPO,不需要配置,流水线可自动获取
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
1 reply
|
本地早就试过了,不行
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午5:51
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
Closed #58 as resolved.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
1 reply
|
我这个是不是直接用cos就直接可以了
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 下午5:54
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
祝你成功吧
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
1 reply
|
而且 你的配置文件写错了 |
0 replies
|
好吧,放弃了
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年1月16日(周二) 晚上6:10
收件人: ***@***.***>;
抄送: ***@***.******@***.***>;
主题: Re: [LetTTGACO/elog] github图床。变量有问题,github不允许设置github开头的密钥 (Discussion #58)
而且 你的配置文件写错了
image: { enabled: true, // 这里是 enable 不是 enabled,难怪触发不了图片上传 platform: 'github', github: { user: process.env.LGH_USER, token: process.env.GITHUB_TOKEN, repo: process.env.LGH_REPO, prefixKey: '', host: 'cdn.jsdelivr.net' } },
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
github图床。变量有问题,github不允许设置github开头的密钥
All reactions