Skip to content

Merge pull request #72 from Giveth/main #6

Merge pull request #72 from Giveth/main

Merge pull request #72 from Giveth/main #6

name: Deploy <develop branch> to Graph Studio
on:
push:
branches: [develop]
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-staging-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: balancer-labs/[email protected]
with:
graph_deploy_key: ${{secrets.GRAPH_DEPLOY_KEY}}
graph_version_label: ${GITHUB_SHA::8}
graph_subgraph_name: 'giveconomy-staging-gnosischain'
graph_account: 'giveth'
graph_config_file: 'subgraph.deployment-7-gnosis.yaml'
graph_deploy_studio: true
deploy-staging-optimism-sepolia:
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: balancer-labs/[email protected]
with:
graph_deploy_key: ${{secrets.GRAPH_DEPLOY_KEY}}
graph_version_label: ${GITHUB_SHA::8}
graph_subgraph_name: 'giveconomy-staging-op-sepolia'
graph_account: 'giveth'
graph_config_file: 'subgraph.deployment-7-optimism-sepolia.yaml'
graph_deploy_studio: true