Skip to content

Commit

Permalink
Merge pull request #74 from Giveth/develop
Browse files Browse the repository at this point in the history
Merge develop into main
  • Loading branch information
geleeroyale authored May 24, 2024
2 parents 5bc98ce + 7fda14a commit 1b60fe7
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions .github/workflows/graph-studio-develop.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
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

0 comments on commit 1b60fe7

Please sign in to comment.