Skip to content

Merge pull request #71 from Giveth/develop #12

Merge pull request #71 from Giveth/develop

Merge pull request #71 from Giveth/develop #12

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: 18
- 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: 18
- 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: 18
- 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: 18
- 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