Skip to content

Commit

Permalink
fix: fix for github action script
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Jul 30, 2024
1 parent 89f9f26 commit b15bcf7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/scripts/arweave-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const { Readable } = require("stream");

async function main() {
const mime = (await import("mime")).default;
const jwk = process.env.DEPLOY_KEY;

const jwk = JSON.parse(process.env.DEPLOY_KEY);
if (!jwk) {
throw new Error(
"The Arweave wallet key (DEPLOY_KEY) is missing or not accessible. Please ensure it is set as an environment variable."
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/scripts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b15bcf7

Please sign in to comment.