Skip to content

Merge pull request #88 from balancer/staging #63

Merge pull request #88 from balancer/staging

Merge pull request #88 from balancer/staging #63

Workflow file for this run

name: Deploy Graph
on:
push:
branches: [master]
jobs:
deploy-mainnet:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges"
graph_account: "balancer-labs"
graph_config_file: "subgraph.yaml"
deploy-goerli:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-goerli"
graph_account: "balancer-labs"
graph_config_file: "subgraph.goerli.yaml"
deploy-arbitrum:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-arbitrum"
graph_account: "balancer-labs"
graph_config_file: "subgraph.arbitrum.yaml"
deploy-polygon:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-polygon"
graph_account: "balancer-labs"
graph_config_file: "subgraph.polygon.yaml"
deploy-optimism:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-optimism"
graph_account: "balancer-labs"
graph_config_file: "subgraph.optimism.yaml"
deploy-gnosis:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-gnosis-chain"
graph_account: "balancer-labs"
graph_config_file: "subgraph.gnosis.yaml"
deploy-avalanche:
runs-on: ubuntu-latest
environment: graph
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Codegen
run: yarn codegen
- uses: balancer-labs/graph-deploy@v0.0.1
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: "balancer-gauges-avalanche"
graph_account: "balancer-labs"
graph_config_file: "subgraph.avalanche.yaml"