Browse Source

Export required env vars before use in migrate.sh

develop
Apostolos Fanakis 4 years ago
parent
commit
eabeca1154
  1. 3
      docker/concordia-contracts/migrate.sh

3
docker/concordia-contracts/migrate.sh

@ -1,3 +1,6 @@
#!/bin/sh #!/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 cd /usr/src/concordia/packages/concordia-contracts && yarn _migrate --network "${MIGRATE_NETWORK}" --reset

Loading…
Cancel
Save