merge #682
This commit is contained in:
parent
3bfc1785d2
commit
4566ce37da
|
@ -6,6 +6,8 @@ echo "deploy subgraph is ${DEPLOY_SUBGRAPH}"
|
|||
|
||||
if [ "${DEPLOY_SUBGRAPH}" = "true" ]
|
||||
then
|
||||
[ -d /ocean-contracts/subgraph ] || mkdir /ocean-contracts/subgraph
|
||||
rm -f /ocean-contracts/subgraph/ready
|
||||
echo "Waiting for contracts to be deployed"
|
||||
while [ ! -f "/ocean-contracts/artifacts/ready" ]; do
|
||||
sleep 2
|
||||
|
@ -13,5 +15,6 @@ then
|
|||
export ADDRESS_FILE="/ocean-contracts/artifacts/address.json"
|
||||
cd /usr/src/app/
|
||||
npm run quickstart:barge
|
||||
touch /ocean-contracts/subgraph/ready
|
||||
fi
|
||||
tail -f /dev/null
|
||||
|
|
Loading…
Reference in New Issue