Skip to content

Commit

Permalink
trigger deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mendesfabio committed Aug 27, 2024
1 parent 2fc90cc commit 8754381
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ jobs:
deploy-pools-sepolia:
runs-on: ubuntu-latest
environment: graph
defaults:
run:
working-directory: subgraphs/pools
steps:
- uses: actions/checkout@v3
- name: Install node
Expand All @@ -19,30 +16,29 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Install dependencies
run: pnpm install
- name: Generate manifests
run: pnpm generate-manifests
- name: Graph Codegen
run: pnpm codegen
working-directory: subgraphs/pools
run: pnpm codegen subgraph.sepolia.yaml
- name: Graph Build
working-directory: subgraphs/pools
run: pnpm build
- uses: balancer-labs/[email protected]
with:
graph_deploy_key: ${{secrets.GRAPH_DEPLOY_KEY}}
graph_version_label: ${GITHUB_SHA::8}
graph_subgraph_name: "balancer-pools-v3-sepolia-7th"
graph_account: "mendesfabio"
graph_config_file: "subgraph.sepolia.yaml"
graph_config_file: "subgraphs/pools/subgraph.sepolia.yaml"
graph_deploy_studio: true

deploy-vault-sepolia:
runs-on: ubuntu-latest
environment: graph
defaults:
run:
working-directory: subgraphs/vault
steps:
- uses: actions/checkout@v3
- name: Install node
Expand All @@ -52,20 +48,22 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Install dependencies
run: pnpm install
- name: Generate manifests
run: pnpm generate-manifests
- name: Graph Codegen
run: pnpm codegen
working-directory: subgraphs/vault
run: pnpm codegen subgraph.sepolia.yaml
- name: Graph Build
working-directory: subgraphs/vault
run: pnpm build
- uses: balancer-labs/[email protected]
with:
graph_deploy_key: ${{secrets.GRAPH_DEPLOY_KEY}}
graph_version_label: ${GITHUB_SHA::8}
graph_subgraph_name: "balancer-v3-sepolia-7th"
graph_account: "mendesfabio"
graph_config_file: "subgraph.sepolia.yaml"
graph_deploy_studio: true
graph_config_file: "subgraphs/vault/subgraph.sepolia.yaml"
graph_deploy_studio: true
6 changes: 3 additions & 3 deletions subgraphs/vault/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ schema:
dataSources:
- kind: ethereum
name: Vault
network: { { network } }
network: {{ network }}
source:
abi: Vault
address: "{{ Vault.address }}"
startBlock: { { Vault.startBlock } }
startBlock: {{ Vault.startBlock }}
mapping:
kind: ethereum/events
apiVersion: 0.0.7
Expand Down Expand Up @@ -42,7 +42,7 @@ dataSources:
templates:
- kind: ethereum/contract
name: BPT
network: { { network } }
network: {{ network }}
source:
abi: BPT
mapping:
Expand Down

0 comments on commit 8754381

Please sign in to comment.