Skip to content

Commit 92ec50c

Browse files
committed
wip: ci
1 parent a162141 commit 92ec50c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
GITHUB_TOKEN=your_github_token
1+
GH_TOKEN=your_github_token
22
CDN_URL=https://cdn.example.com

lib/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Octokit } from "@octokit/rest";
22

33
const octokit = new Octokit({
4-
auth: process.env.GITHUB_TOKEN,
4+
auth: process.env.GH_TOKEN || process.env.GITHUB_TOKEN,
55
});
66

77
export default octokit;

0 commit comments

Comments
 (0)