-
Notifications
You must be signed in to change notification settings - Fork 97
42 lines (40 loc) · 1.06 KB
/
graph-manual.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Manually Deploy Full Sync
on:
workflow_dispatch:
inputs:
network:
description: "Network to build for"
required: true
default: "mainnet"
type: choice
options:
- mainnet
- arbitrum
- polygon
- goerli
jobs:
deploy:
runs-on: ubuntu-latest
environment: graph
env:
NETWORK: ${{ inputs.network }}
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 18
- name: Install
run: yarn --frozen-lockfile
- name: Assets
run: yarn generate-assets $NETWORK
- 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-${{ inputs.network }}-v2-full"
graph_account: "balancer-labs"
graph_config_file: "subgraph.${{ inputs.network }}.full.yaml"