Skip to content

Merge pull request #65 from Giveth/feat/op_givpower_upgrade #11

Merge pull request #65 from Giveth/feat/op_givpower_upgrade

Merge pull request #65 from Giveth/feat/op_givpower_upgrade #11

Workflow file for this run

name: Deploy Graph
on:
push:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Lint
run: yarn lint
deploy-mainnet:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Generate Manifest
run: yarn generate-manifests
- uses: gtaschuk/[email protected]
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: giveth-economy-second-mainnet
graph_account: giveth
graph_config_file: subgraph.production-mainnet.yaml
deploy-gnosis:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Generate Manifest
run: yarn generate-manifests
- uses: gtaschuk/[email protected]
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: giveth-economy-second-xdai
graph_account: giveth
graph_config_file: subgraph.production-gnosis.yaml
deploy-optimism:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install node
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install
run: yarn --frozen-lockfile
- name: Generate Manifest
run: yarn generate-manifests
- uses: gtaschuk/[email protected]
with:
graph_access_token: ${{ secrets.GRAPH_ACCESS_TOKEN }}
graph_subgraph_name: giveconomy-optimism-mainnet
graph_account: giveth
graph_config_file: subgraph.production-optimism-mainnet.yaml