Skip to content

Commit

Permalink
set env vars needed for static site generation
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler committed Nov 22, 2019
1 parent 9591ab0 commit 50c0556
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
12 changes: 0 additions & 12 deletions nix/byron_staging.js

This file was deleted.

8 changes: 6 additions & 2 deletions nix/packages.nix
Expand Up @@ -35,14 +35,18 @@ in {
'';
};
};
CARDANO_ERA = "byron";
CARDANO_NETWORK = "testnet";
GRAPHQL_API_PROTOCOL = "https";
GRAPHQL_API_HOST = "explorer.staging-shelley.aws.iohkdev.io";
GRAPHQL_PORT = "443";

installPhase = ''
unpackPhase
cd $sourceRoot
mkdir -p generated/typings
cp ${./graphql-schema.d.ts} generated/typings/
cp ${./byron_staging.js} deploy/byron_staging.js
echo "Building for host $GRAPHQL_API_HOST"
yarn run build source
'';

Expand Down

0 comments on commit 50c0556

Please sign in to comment.