Skip to content

Deploy Subgraph

Deploy Subgraph #60

Workflow file for this run

name: Deploy Subgraph
on: [ pull_request_review, workflow_dispatch ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: deploy subgraph
env:
GRAPH_NODE_URL: ${{ secrets.GRAPH_NODE_URL }}
GRAPH_IPFS_URL: ${{ secrets.GRAPH_IPFS_URL }}
TESTNET_GRAPH_NODE_URL: ${{ secrets.TESTNET_GRAPH_NODE_URL }}
TESTNET_GRAPH_IPFS_URL: ${{ secrets.TESTNET_GRAPH_IPFS_URL }}
run: |
chmod +x ./deploy.sh
./deploy.sh