Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
ci: improve build resilience
Browse files Browse the repository at this point in the history
  • Loading branch information
filo87 committed Dec 21, 2023
1 parent 0685002 commit 8f2371e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/subql_deploy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
- name: Generate new project-centrifuge.yaml
run: '[ -e chains-cfg/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-cfg/$CHAIN_ID.yaml\")" chains-cfg/base.yaml > project-centrifuge.yaml || return 0'
- name: Generate new project-ethereum.yaml
run: '[ -e chains-eth/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-eth/$CHAIN_ID.yaml\")" chains-eth/base.yaml || return 0'
run: '[ -e chains-eth/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-eth/$CHAIN_ID.yaml\")" chains-eth/base.yaml > project-ethereum.yaml || return 0'
- name: Generate new project-coinbase.yaml
run: '[ -e chains-cfg/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-base/$CHAIN_ID.yaml\")" chains-eth/base.yaml || return 0'
run: '[ -e chains-cfg/$CHAIN_ID.yaml ] && yq ". *=d load(\"chains-base/$CHAIN_ID.yaml\")" chains-eth/base.yaml > project-coinbase.yaml || return 0'
- name: Extract Chain Parameters to ENV
run: |
echo "SUBQL_PROJ_NAME=$(yq '.name' project-centrifuge.yaml)" >> $GITHUB_ENV
Expand Down

0 comments on commit 8f2371e

Please sign in to comment.