Merge pull request #72 from Giveth/main #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |