Skip to content

Commit

Permalink
fix: arbitrum workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmardefago committed Apr 14, 2023
1 parent 67f0141 commit 13bcd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production-arbitrum-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:

# Run scripts
- name: Prepare addresses mainnet
run: ./node_modules/.bin/ts-node config/mainnetAddressScript.ts && ./node_modules/.bin/mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts
run: ./node_modules/.bin/ts-node config/arbitrumAddressScript.ts && ./node_modules/.bin/mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts
- name: Prepare mainnet
run: ./node_modules/.bin/mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && ./node_modules/@graphprotocol/graph-cli/bin/graph codegen --output-dir src/types/
- name: Deploy to mainnet production
run: ./node_modules/@graphprotocol/graph-cli/bin/graph deploy graphprotocol/graph-network-analytics --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --access-token ${{secrets.access_token}}
run: ./node_modules/@graphprotocol/graph-cli/bin/graph deploy graphprotocol/graph-analytics-arbitrum --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/ --access-token ${{secrets.access_token}}

0 comments on commit 13bcd94

Please sign in to comment.