Skip to content

Commit cb17e13

Browse files
committed
update github token env secret name
1 parent dc57a68 commit cb17e13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/notion-opml-to-gist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
env:
1111
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
12-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
TOKEN_OF_GITHUB: ${{ secrets.TOKEN_OF_GITHUB }}
1313
OPML_GIST_ID: ${{ vars.OPML_GIST_ID }}
1414
NOTION_VTUBERS_DATABASE_ID: ${{ vars.NOTION_VTUBERS_DATABASE_ID }}
1515

scripts/update_github_gist_opml.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Octokit } from "@octokit/rest";
22
import generateOpmlFromNotion from "./notion_database_youtube_url_to_opml.js";
33

44
const octokit = new Octokit({
5-
auth: process.env.GITHUB_TOKEN,
5+
auth: process.env.TOKEN_OF_GITHUB,
66
});
77

88
// 更新 GitHub Gist 的 OPML 文件

0 commit comments

Comments
 (0)