From 19f922dc2e4dfb09178494198c165ad74402c1ad Mon Sep 17 00:00:00 2001 From: Moonded Date: Tue, 3 Sep 2024 11:43:31 +0200 Subject: [PATCH] make the key variable --- src/utils/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/github.ts b/src/utils/github.ts index ec3a94d..934da18 100644 --- a/src/utils/github.ts +++ b/src/utils/github.ts @@ -2,7 +2,7 @@ import { App } from "octokit"; import fs from "fs"; const key = fs.readFileSync( - "./src/keys/red-modding-teams.2024-09-02.private-key.pem", + `./src/keys/${process.env.GITHUB_APP_KEY_FILE!}`, "utf-8" );