Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Fix for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
imbenwolf committed Mar 14, 2022
1 parent ffa9974 commit 88412f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
release: yarn prepare remote && yarn build && yarn deploy:remote
release: yarn prepare remote && yarn build:graph && yarn deploy:remote
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ http://subgraph.dev.enso.finance/subgraphs/name/ensofinance/enso-v1
4. Build subgraph

```bash
yarn build
yarn build:graph
```

5. Deploy subgraph
Expand Down Expand Up @@ -64,7 +64,7 @@ http://subgraph.dev.enso.finance/subgraphs/name/ensofinance/enso-v1
3. Build subgraph

```bash
yarn build
yarn build:graph
```

4. Deploy subgraph
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"version": "0.1.0",
"scripts": {
"prepare": "./scripts/build-manifest.sh",
"build": "graph codegen && graph build",
"build:graph": "graph codegen && graph build",
"deploy:local": "graph create --node http://127.0.0.1:8020 ensofinance/enso-v1 && graph deploy --node http://127.0.0.1:8020/ --ipfs http://127.0.0.1:5001 ensofinance/enso-v1",
"deploy:remote": "graph create --node http://$DOCKHERO_HOST:8020 ensofinance/enso-v1 && graph deploy --node http://$DOCKHERO_HOST:8020 --ipfs http://$DOCKHERO_HOST:5001 ensofinance/enso-v1",
"deploy:kovan": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ ensofinance/enso-v1"
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

NETWORK=$1

if [ -z $NETWORK ]; then echo "Network not specified! (mainnet, kovan, local, ensonet, remote)"; exit 1; fi
if [ -z $NETWORK ]; then echo "Network not specified! (mainnet, kovan, local, ensonet, remote)"; exit 0; fi

DATA=deployments.json

Expand Down

0 comments on commit 88412f7

Please sign in to comment.