From 3c1d22a5ed3f592f6ed503d5f5787d91fdfff1f8 Mon Sep 17 00:00:00 2001 From: bobinstein Date: Tue, 30 Jul 2024 18:44:24 -0400 Subject: [PATCH] fix: corrected variable name --- .github/workflows/scripts/arweave-deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/arweave-deploy.js b/.github/workflows/scripts/arweave-deploy.js index f72e2bc9..4195be5c 100644 --- a/.github/workflows/scripts/arweave-deploy.js +++ b/.github/workflows/scripts/arweave-deploy.js @@ -14,7 +14,7 @@ async function main() { const mime = (await import("mime")).default; const jwkBase64 = process.env.DEPLOY_KEY; - if (!jwk) { + if (!jwkBase64) { throw new Error( "The Arweave wallet key (DEPLOY_KEY) is missing or not accessible. Please ensure it is set as an environment variable." );