Skip to content

Commit

Permalink
Merge pull request #21 from gnosis/github_actions
Browse files Browse the repository at this point in the history
Add deployment block for dev github workflow
  • Loading branch information
gMonty030 authored Sep 12, 2024
2 parents 049c8c4 + f7995b1 commit 13de81d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ jobs:
run: graph auth --studio ${{ secrets.DEPLOY_KEY }}

# Script to deploy to development environment
# - name: Deploy Subgraph for ETH mainnet
# if: ${{ inputs.network == 'Ethereum' }}
# run: yarn deploy
- name: Deploy Subgraph for ETH mainnet
if: ${{ inputs.network == 'Ethereum' }}
run: yarn deploy -l "${{ inputs.version }}"

# - name: Deploy Subgraph for Gnosis Chain
# if: ${{ inputs.network == 'Gnosis Chain' }}
# run: yarn deploy:gc < <(echo "${{ inputs.version }}")
- name: Deploy Subgraph for Gnosis Chain
if: ${{ inputs.network == 'Gnosis Chain' }}
run: yarn deploy:gc -l "${{ inputs.version }}"

# - name: Deploy Subgraph for both Netwroks
# if: ${{ inputs.network == 'ALL' }}
# run: yarn deploy < <(echo "${{ inputs.version }}") && yarn deploy:gc < <(echo "${{ inputs.version }}")
- name: Deploy Subgraph for both Netwroks
if: ${{ inputs.network == 'ALL' }}
run: yarn deploy -l ${{ inputs.version }}") && yarn deploy:gc -l ${{ inputs.version }}"

0 comments on commit 13de81d

Please sign in to comment.