Merge pull request #571 from balancer/dola-pricing-asset #296
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Hosted Service Betas | |
on: | |
push: | |
branches: dev | |
jobs: | |
deploy-beta: | |
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: Assets | |
run: yarn generate-assets | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.yaml" | |
deploy-goerli-beta: | |
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: Assets | |
run: yarn generate-assets goerli | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-goerli-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.goerli.yaml" | |
deploy-polygon-beta: | |
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: Assets | |
run: yarn generate-assets polygon | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-polygon-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.polygon.yaml" | |
deploy-polygon-prune-beta: | |
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: Assets | |
run: yarn generate-assets polygon-prune | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-polygon-prune-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.polygon.pruned.yaml" | |
deploy-arbitrum-beta: | |
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: Assets | |
run: yarn generate-assets arbitrum | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-arbitrum-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.arbitrum.yaml" | |
deploy-gnosis-beta: | |
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: Assets | |
run: yarn generate-assets gnosis | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-gnosis-chain-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.gnosis.yaml" | |
deploy-bnb-beta: | |
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: Assets | |
run: yarn generate-assets bnb | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-bnbchain-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.bnb.yaml" | |
deploy-avalanche-beta: | |
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: Assets | |
run: yarn generate-assets avalanche | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-avalanche-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.avalanche.yaml" | |
deploy-optimism-beta: | |
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: Assets | |
run: yarn generate-assets optimism | |
- name: Codegen | |
run: yarn codegen | |
- name: Build | |
run: yarn build | |
- uses: balancer-labs/[email protected] | |
with: | |
graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} | |
graph_subgraph_name: "balancer-optimism-v2-beta" | |
graph_account: "balancer-labs" | |
graph_config_file: "subgraph.optimism.yaml" | |
env: | |
CI: true |