From eabeca1154e2a689778e430c985a7ee63765b9c0 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Mon, 30 Nov 2020 01:08:16 +0200 Subject: [PATCH] Export required env vars before use in migrate.sh --- docker/concordia-contracts/migrate.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/concordia-contracts/migrate.sh b/docker/concordia-contracts/migrate.sh index dd5cf00..29d7449 100644 --- a/docker/concordia-contracts/migrate.sh +++ b/docker/concordia-contracts/migrate.sh @@ -1,3 +1,6 @@ #!/bin/sh +export CHAIN_HOST="$DEPLOY_CHAIN_HOST" +export CHAIN_PORT="$DEPLOY_CHAIN_PORT" + cd /usr/src/concordia/packages/concordia-contracts && yarn _migrate --network "${MIGRATE_NETWORK}" --reset